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

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

  • Upload
    others

  • View
    44

  • Download
    8

Embed Size (px)

Citation preview

Introduction to Xojousing PostgreSQL

Kevin CullyCULLY Technologies, LLC

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

About Me - Professional

About Me - Personal

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

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

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

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.

Xojo Web & Desktop Controls

Screen Building

Connecting to PostgreSQL

● Xojo uses database plugins

● … such as the PostgreSQL plugin

Database Access

Built in Xojo Reporting Tool

Data Binding - Xojo

Native Controls forDesktop Applications

● Windows● Mac● Linux

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

Building Apps forAlternate Platforms

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

Remote Debugger

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

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

Current Web Development

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

Xojo Web Edition

● Web Site <> Web Application

Xojo Web Edition

● Develop as you would desktop application

● Persistent connection between browser & server

● Web sockets & similar technology per platform handles communication

● { demo }

Xojo Web Edition

● Single Page Application

Xojo Web – Platform Specific

Xojo with PostgreSQL

● Q & A

Introduction to Xojo

Thank you.

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

https://twitter.com/KevinCully