Top Banner
Introduction to Xojo using PostgreSQL Kevin Cully CULLY Technologies, LLC
27

Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

May 09, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Introduction to Xojousing PostgreSQL

Kevin CullyCULLY Technologies, LLC

Page 2: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

About This Session

● Example Xojo web application● Not a sales pitch● Introduction to Xojo as a development tool● IDE tour● Xojo code and language● Strengths and Weaknesses● Q&A

Page 3: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

About Me - Professional

Page 4: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

About Me - Personal

Page 5: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Looking For A NewDevelopment Language

● Visual Development

● Singular IDE● Report Writer● Cross-platform● Object oriented● Multi-threaded

● High productivity● Active community● Third party support● Extensibility● Reasonably Priced● Not case sensitive

language

Page 6: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

About Xojo

● Object-oriented programming language● Strongly typed language● Single inheritance and interfaces● Class methods and class properties● Automatic memory management● Uses SQLite for integrated database engine● "Fat client" applications (Linux, Mac, Windows)● Console applications● Web applications● iOS phone applications● Soon: Raspberry Pi (ARM) support

Page 7: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

About Xojo the Company

● Geoff Perlman founded Real Software in 1996● Headquarters in Austin TX● Developers around the globe●

● Bought CrossBasic in 1998● Originally Mac and Java VM● Dropped Java VM● Added Windows● Added Linux in 2005● Added Web in 2010● Added iOS in 2014● 64bit Support in 2015● Raspberry Pi in (approx) 2016

Page 8: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

What about costs?

● Xojo IDE Free!● Xojo Single Desktop $99/each● Xojo Desktop $299● Xojo Web $299● Xojo Console $149● Xojo iOS $299● Xojo Professional Edition $699● Xojo Enterprise Edition $1,999●

● On occasions there will be sale pricing.

Page 9: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Xojo Web & Desktop Controls

Page 10: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Screen Building

Page 11: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Connecting to PostgreSQL

● Xojo uses database plugins

● … such as the PostgreSQL plugin

Page 12: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Database Access

Page 13: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Built in Xojo Reporting Tool

Page 14: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Data Binding - Xojo

Page 15: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Native Controls forDesktop Applications

● Windows● Mac● Linux

Page 16: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Cross Platform Issues

● #IF TargetWin32 THEN● ' Windows only code● #ELSEIF TargetMacOX THEN● ' Mac only code● #ELSEIF TargetLinux THEN● ' Linux only code● #ELSEIF TargetWeb THEN● ' Web only code● #ELSEIF NOT TargetHasGUI THEN● ' Console application code● #ENDIF

Page 17: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Building Apps forAlternate Platforms

● If you are careful with your development, and creating dependancies, building applications for alternate platforms is a checkbox away.

Page 18: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Remote Debugger

Page 19: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Bumps in the Road

●Recordsets●Controls are global to the Window●Cannot programmatically control Z-Order of controls

●Visual Inheritance●Code Inheritance Parent Classes●Data Binding

Page 20: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Xojo is Web 3.0!● (Web 3.0 is one better than Web 2.0)

Page 21: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Current Web Development

● HTML● PHP ● CSS● ASP.NET● JavaScript● Jquery● ExtJS● KnockoutJS● AngularJS● … any others ...

Page 22: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Xojo Web Edition

● Web Site <> Web Application

Page 23: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Xojo Web Edition

● Develop as you would desktop application

● Persistent connection between browser & server

● Web sockets & similar technology per platform handles communication

● { demo }

Page 24: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Xojo Web Edition

● Single Page Application

Page 25: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Xojo Web – Platform Specific

Page 26: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Xojo with PostgreSQL

● Q & A

Page 27: Introduction to Xojo using PostgreSQLfiles.meetup.com/18244671/Xojo_with_PostgreSQL.pdf · About Xojo Object-oriented programming language Strongly typed language Single inheritance

Introduction to Xojo

Thank you.

http://cullytechnologies.comhttp://cully.biz

https://twitter.com/KevinCully