Intro to Appcelerator Titanium - Code for Fort Lauderdale 2015

Adam Paxton
Adam PaxtonFreelance iOS and Android Developer at Polanco Media
Building Cross Platform Mobile Apps:
An Introduction to Appcelerator Titanium
Adam Paxton

Code for Ft Lauderdale / Appcelerator Meetup

August 26, 2015
Overview
• What is Appcelerator Titanium?
• Why use it?
• Pros
• Cons
• Tools Walkthrough
• Code Demo
Hello
• Mobile App Development

Polanco Media, LLC (We’re hiring)
• 5 years working with Titanium
• TCAD, TCMD certified
• Titanium Titan User Group
• Co-organizer Titanium Cancun Meetup
• South Florida Titanium Meetup
github.com/adampax

@adampax
Titanium Meetup: http://bit.ly/tisofla
We are:
• Web developers
• Companies with existing developer teams
• Startups
• Someone with an idea
We want to build:
• App for ourselves (or our community)
• App for our client
• App for our enterprise
What do we use?
• iOS - Objective C / Swift
• Android - Java
• Mobile Web - HTML5
• Windows Phone - C# / JavaScript
Another Option: Appcelerator Titanium
• Appcelerator, Inc - Based in Mountain View, CA
• Open Source
• Titanium SDK and CLI
• Alloy MVC Framework
• Paid (Free to try)
• Appcelerator Studio IDE
• Arrow - Mobile backend storage, push notifications, API builder
Titanium
• Cross platform development environment for creating native mobile apps
• Program with JavaScript
• Free and open source
• Not a webview wrapper or app generator - builds native apps
• Builds with platform SDKs
• Android SDK toolset required for Android apps
• Xcode (and a Mac) required for iOS Apps
How does it work?
How does it work?
• Write your code in JavaScript

• Code is minified and packaged with with
Titanium APIs and JavaScript interpreter
(JavaScriptCore for iOS, V8 for Android)

• Ti SDK uses native SDK (Xcode, Android, etc)
to package it all up

• JavaScript interpreter executes your code and
builds connections to native objects using the
Titanium APIs
appcelerator.com/product/
Pros
• Maintain a single code base across multiple platforms
• 60% to 90% code re-use across platforms
• Use your or your team’s existing JavaScript skills
• Faster ramp up with JavaScript for new developers
• Native interface, native controls, native experience
appcelerator.com/titanium/titanium-sdk/
Cons
• Does not cover entire API for all platforms
• Over 5000 APIs are supported
• You can extend the API to access any additional APIs you need
• Extra layer of abstraction means more to manage
• New feature release / bug fix in iOS / Android — must wait until supported /fixed in
Titanium (This is getting faster, often same day as iOS release)
• Potential for bugs in Titanium
• As of version 4.0.0 (Spring 2015) Licensing of the tools (free vs OSS) is a bit of a pain
The Tools
• Titanium SDK
• Appcelerator Studio*
• Titanium CLI
• Arrow Cloud Services*
• Alloy MVC Framework
*Paid
Titanium SDK
• Everything uses the SDK
• Updates usually released monthly
• Current version: 4.1.0.GA
Appcelerator Studio
• IDE used to build, test, package and
publish mobile applications across
platforms

• Based on Eclipse

• Requires subscription

• Runs on Mac, Windows, Linux

• Code completion, debugger and
breakpoints

• Wizards for configuring native SDKs,
creating new app projects
Titanium Command Line Interface	
• Node.js-based command-line tool for managing, building, and deploying
Titanium projects
• Don’t want to use Eclipse/Studio? Use the CLI with your favorite editor
• SublimeText, Atom, VIM, etc.
• titanium build --platform android
docs.appcelerator.com/platform/latest/#!/guide/Titanium_Command-Line_Interface_Reference
Use Your Own IDE with Titanium
• Sublime: https://github.com/MattTuttle/sublime-ti-build
• Atom:
• Package: https://github.com/yomybaby/atom-titanium
• Guide: https://github.com/m1ga/titanium_with_atom
• IntelliJ IDEA, NetBeans: https://github.com/navinpeiris/jsca2js
h/t @FokkeZB
Arrow Cloud and API Builder
• Collection of pre-built services for handling
Mobile Backend requirements

• Node.js hosting

• API builder

• ArrowDB, schema-less data store

• Integration with Studio, CLI

• Push notifications

• DB Connectors for Azure, Salesforce,
MSSQL, MySQL, MongoDB
appcelerator.com/product/arrow/
The Code - Titanium ‘Classic’
• Original syntax for Titanium code

• All UI, data, logic defined in js code

• Directly access Titanium API

• CommonJS modules
var win = Titanium.UI.createWindow({
title: ‘My Window’,
backgroundColor: ‘#fff’
});
win.open();
The Code - Titanium Alloy
• MVC Framework — Model, View, Controller

• Recommended for new projects

• Structure code into separate sections for
data, UI, logic

• Models— represent database records, API
queries, etc. Based on Backbone.js

• Views — XML to define UI objects, TSS
(like CSS) to style them

• Controllers - JavaScript containing logic —
what happens when a button is clicked?
etc.
Alloy
• Keeps your code cleaner, enabling re-use
• Can still use CommonJS libraries with Alloy. Popular libraries underscore.js,
moment.js already included
• Built-ins for conditional code
• TSS styling similar to CSS, easy to setup and re-use styling
• A lot more features
Community Tools
• TiShadow - tishadow.yydigital.com - Rapid testing for Titanium, very useful!
• Platino - platino.io - build 2D and 2.5D mobile games with Titanium (Free to try)
• TiSlack Chat - topener.nl/tislack
• Gittio - gitt.io - search engine for Titanium modules and Alloy Widgets
• Ticons - http://ticons.fokkezb.nl/ - Generate app icons and splash screens for
iOS and Android
• Material Palatte - materialpalette.com - Generate Material theme for Android
(check the demo app for example)
Final Notes
• Use Titanium for faster mobile development
• Use Alloy for faster Titanium development :)
• Start downloading here: http://www.appcelerator.com/signup/
• Documentation: docs.appcelerator.com
• Help: community.appcelerator.com
Future South Florida Titanium Meetups
• Meeting monthly on a Tuesday or Thursday?
• Call for Speakers, ideas:
• Share a new process, library, module
• App walkthrough
• Discuss more at South Florida Titanium meetup page: bit.ly/tisofla
Thanks
• Thanks Rob and Code For FTL Team
• Thanks Sebastian @ Axis Space
• Thanks Appcelerator for the Pizza







Show some code: github.com/adampax/TiCodeForFTL
1 of 25

Recommended

The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja... by
The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...
The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...Adam Paxton
917 views30 slides
Full Stack Flutter Testing by
Full Stack Flutter Testing Full Stack Flutter Testing
Full Stack Flutter Testing Shashikant Jagtap
1.2K views17 slides
SauceCon19: Fashionable XCUITest for iOS App by
SauceCon19: Fashionable XCUITest for iOS App SauceCon19: Fashionable XCUITest for iOS App
SauceCon19: Fashionable XCUITest for iOS App Shashikant Jagtap
916 views42 slides
NSTC2019: Choosing CI Friendly Mobile Automation Framework by
NSTC2019: Choosing CI Friendly Mobile Automation Framework NSTC2019: Choosing CI Friendly Mobile Automation Framework
NSTC2019: Choosing CI Friendly Mobile Automation Framework Shashikant Jagtap
756 views30 slides
既存の資産をXamarinで / Utilize existing assets as Xamarin library by
既存の資産をXamarinで / Utilize existing assets as Xamarin library既存の資産をXamarinで / Utilize existing assets as Xamarin library
既存の資産をXamarinで / Utilize existing assets as Xamarin libraryYusuke Yamada
562 views110 slides
Hyperloop by
HyperloopHyperloop
HyperloopConny Svensson
4K views27 slides

More Related Content

What's hot

Nativescript by
NativescriptNativescript
NativescriptSoftware Infrastructure
1.7K views31 slides
Welcome to Titanium by
Welcome to TitaniumWelcome to Titanium
Welcome to TitaniumAxway Appcelerator
595 views24 slides
ASP.NET Core MVC + Web API with Overview (Post RC2) by
ASP.NET Core MVC + Web API with Overview (Post RC2)ASP.NET Core MVC + Web API with Overview (Post RC2)
ASP.NET Core MVC + Web API with Overview (Post RC2)Shahed Chowdhuri
5K views23 slides
Moving forward with ASP.NET Core by
Moving forward with ASP.NET CoreMoving forward with ASP.NET Core
Moving forward with ASP.NET CoreEnea Gabriel
880 views39 slides
2018 05-24 CopenhagenJS meetup - Titanium Alloy by
2018 05-24 CopenhagenJS meetup - Titanium Alloy2018 05-24 CopenhagenJS meetup - Titanium Alloy
2018 05-24 CopenhagenJS meetup - Titanium AlloyRene Pot
50 views39 slides
Native Script by Sebastian Witalec by
Native Script by Sebastian WitalecNative Script by Sebastian Witalec
Native Script by Sebastian WitalecSimone Basso
2K views27 slides

What's hot(20)

ASP.NET Core MVC + Web API with Overview (Post RC2) by Shahed Chowdhuri
ASP.NET Core MVC + Web API with Overview (Post RC2)ASP.NET Core MVC + Web API with Overview (Post RC2)
ASP.NET Core MVC + Web API with Overview (Post RC2)
Shahed Chowdhuri5K views
Moving forward with ASP.NET Core by Enea Gabriel
Moving forward with ASP.NET CoreMoving forward with ASP.NET Core
Moving forward with ASP.NET Core
Enea Gabriel880 views
2018 05-24 CopenhagenJS meetup - Titanium Alloy by Rene Pot
2018 05-24 CopenhagenJS meetup - Titanium Alloy2018 05-24 CopenhagenJS meetup - Titanium Alloy
2018 05-24 CopenhagenJS meetup - Titanium Alloy
Rene Pot50 views
Native Script by Sebastian Witalec by Simone Basso
Native Script by Sebastian WitalecNative Script by Sebastian Witalec
Native Script by Sebastian Witalec
Simone Basso2K views
Building an Ionic hybrid mobile app with TypeScript by Serge van den Oever
Building an Ionic hybrid mobile app with TypeScript Building an Ionic hybrid mobile app with TypeScript
Building an Ionic hybrid mobile app with TypeScript
Serge van den Oever22.8K views
Building ext js apps with ES2015 using sencha visual studio code plugin by Sandeep Adwankar
Building ext js apps with ES2015 using sencha visual studio code pluginBuilding ext js apps with ES2015 using sencha visual studio code plugin
Building ext js apps with ES2015 using sencha visual studio code plugin
Sandeep Adwankar239 views
Introduction to NativeScript - BuildTruly Native Apps using JavaScript by Lohith Goudagere Nagaraj
Introduction to NativeScript - BuildTruly Native Apps using JavaScriptIntroduction to NativeScript - BuildTruly Native Apps using JavaScript
Introduction to NativeScript - BuildTruly Native Apps using JavaScript
Introduction to Ionic (SB AngularJS Meetup) by Sol Tran
Introduction to Ionic (SB AngularJS Meetup)Introduction to Ionic (SB AngularJS Meetup)
Introduction to Ionic (SB AngularJS Meetup)
Sol Tran1.1K views
ASP.NET Core 1.0 Overview: Pre-RC2 by Shahed Chowdhuri
ASP.NET Core 1.0 Overview: Pre-RC2ASP.NET Core 1.0 Overview: Pre-RC2
ASP.NET Core 1.0 Overview: Pre-RC2
Shahed Chowdhuri4.8K views
Cross platform Native apps with JavaScript - Helsinki 2018-04 by Rene Pot
Cross platform Native apps with JavaScript - Helsinki 2018-04Cross platform Native apps with JavaScript - Helsinki 2018-04
Cross platform Native apps with JavaScript - Helsinki 2018-04
Rene Pot109 views
React Native for multi-platform mobile applications - Matteo Manchi - Codemo... by Codemotion
React Native for multi-platform mobile applications  - Matteo Manchi - Codemo...React Native for multi-platform mobile applications  - Matteo Manchi - Codemo...
React Native for multi-platform mobile applications - Matteo Manchi - Codemo...
Codemotion1.4K views
API Design - developing for developers by Joy George
API Design - developing for developersAPI Design - developing for developers
API Design - developing for developers
Joy George873 views
Cross Platform Native Development with Appcelerator Titanium (2015 DevNexus) by Stephen Feather
Cross Platform Native Development with Appcelerator Titanium (2015 DevNexus)Cross Platform Native Development with Appcelerator Titanium (2015 DevNexus)
Cross Platform Native Development with Appcelerator Titanium (2015 DevNexus)
Stephen Feather1.1K views
Speed upyourtest with_appium by VodqaBLR
Speed upyourtest with_appiumSpeed upyourtest with_appium
Speed upyourtest with_appium
VodqaBLR421 views

Similar to Intro to Appcelerator Titanium - Code for Fort Lauderdale 2015

Introduction to Appcelerator Titanium by
Introduction to Appcelerator TitaniumIntroduction to Appcelerator Titanium
Introduction to Appcelerator TitaniumAdam Paxton
2K views22 slides
Appcelerator Titanium Intro by
Appcelerator Titanium IntroAppcelerator Titanium Intro
Appcelerator Titanium IntroNicholas Jansma
4.2K views22 slides
Titanium Mobile by
Titanium MobileTitanium Mobile
Titanium MobileAxway Appcelerator
417 views20 slides
Getting started with Appcelerator Titanium by
Getting started with Appcelerator TitaniumGetting started with Appcelerator Titanium
Getting started with Appcelerator TitaniumTechday7
2K views51 slides
Appcelerator Titanium Intro (2014) by
Appcelerator Titanium Intro (2014)Appcelerator Titanium Intro (2014)
Appcelerator Titanium Intro (2014)Nicholas Jansma
7.8K views29 slides
Getting started with titanium by
Getting started with titaniumGetting started with titanium
Getting started with titaniumNaga Harish M
866 views50 slides

Similar to Intro to Appcelerator Titanium - Code for Fort Lauderdale 2015(20)

Introduction to Appcelerator Titanium by Adam Paxton
Introduction to Appcelerator TitaniumIntroduction to Appcelerator Titanium
Introduction to Appcelerator Titanium
Adam Paxton2K views
Getting started with Appcelerator Titanium by Techday7
Getting started with Appcelerator TitaniumGetting started with Appcelerator Titanium
Getting started with Appcelerator Titanium
Techday72K views
Appcelerator Titanium Intro (2014) by Nicholas Jansma
Appcelerator Titanium Intro (2014)Appcelerator Titanium Intro (2014)
Appcelerator Titanium Intro (2014)
Nicholas Jansma7.8K views
Getting started with titanium by Naga Harish M
Getting started with titaniumGetting started with titanium
Getting started with titanium
Naga Harish M866 views
Android development made easy with appcelerator titanium by Gaurav Kheterpal
Android development made easy with appcelerator titaniumAndroid development made easy with appcelerator titanium
Android development made easy with appcelerator titanium
Gaurav Kheterpal2K views
Introduction to building multi platform mobile applications with javascript u... by Shoukry Kattan
Introduction to building multi platform mobile applications with javascript u...Introduction to building multi platform mobile applications with javascript u...
Introduction to building multi platform mobile applications with javascript u...
Shoukry Kattan562 views
Building iPhone/Andriod Apps with Titanium Appcelerator for a Rails Backend by Andrew Chalkley
Building iPhone/Andriod Apps with Titanium Appcelerator for a Rails BackendBuilding iPhone/Andriod Apps with Titanium Appcelerator for a Rails Backend
Building iPhone/Andriod Apps with Titanium Appcelerator for a Rails Backend
Andrew Chalkley3.6K views
Titanium Alloy Framework by Techday7
Titanium Alloy FrameworkTitanium Alloy Framework
Titanium Alloy Framework
Techday77K views
SumitK's mobile app dev using drupal as base ststem by Sumit Kataria
SumitK's mobile app dev using drupal as base ststemSumitK's mobile app dev using drupal as base ststem
SumitK's mobile app dev using drupal as base ststem
Sumit Kataria927 views
Speedupiosdevelopment by slidepaddemo
SpeedupiosdevelopmentSpeedupiosdevelopment
Speedupiosdevelopment
slidepaddemo307 views
Rapid application development con titanium appcelerator by Giorgio Mandolini
Rapid application development con titanium appceleratorRapid application development con titanium appcelerator
Rapid application development con titanium appcelerator
Giorgio Mandolini1.1K views
Giorgio Mandolini - Rapid application development con titanium appcelerator by gdg-ancona
Giorgio Mandolini - Rapid application development con titanium appceleratorGiorgio Mandolini - Rapid application development con titanium appcelerator
Giorgio Mandolini - Rapid application development con titanium appcelerator
gdg-ancona615 views
Test+video+upload by Tianwei_liu
Test+video+uploadTest+video+upload
Test+video+upload
Tianwei_liu404 views
Using Appcelerator Titanium to build native android apps without the native pain by Gaurav Kheterpal
Using Appcelerator Titanium to build native android apps without the native painUsing Appcelerator Titanium to build native android apps without the native pain
Using Appcelerator Titanium to build native android apps without the native pain
Gaurav Kheterpal3.3K views
Besides Objective-C by Jiwei Xu
Besides Objective-CBesides Objective-C
Besides Objective-C
Jiwei Xu1.8K views

Recently uploaded

HTTP headers that make your website go faster - devs.gent November 2023 by
HTTP headers that make your website go faster - devs.gent November 2023HTTP headers that make your website go faster - devs.gent November 2023
HTTP headers that make your website go faster - devs.gent November 2023Thijs Feryn
22 views151 slides
Data Integrity for Banking and Financial Services by
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial ServicesPrecisely
21 views26 slides
Igniting Next Level Productivity with AI-Infused Data Integration Workflows by
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Safe Software
263 views86 slides
Design Driven Network Assurance by
Design Driven Network AssuranceDesign Driven Network Assurance
Design Driven Network AssuranceNetwork Automation Forum
15 views42 slides
Zero to Automated in Under a Year by
Zero to Automated in Under a YearZero to Automated in Under a Year
Zero to Automated in Under a YearNetwork Automation Forum
15 views23 slides
PRODUCT PRESENTATION.pptx by
PRODUCT PRESENTATION.pptxPRODUCT PRESENTATION.pptx
PRODUCT PRESENTATION.pptxangelicacueva6
14 views1 slide

Recently uploaded(20)

HTTP headers that make your website go faster - devs.gent November 2023 by Thijs Feryn
HTTP headers that make your website go faster - devs.gent November 2023HTTP headers that make your website go faster - devs.gent November 2023
HTTP headers that make your website go faster - devs.gent November 2023
Thijs Feryn22 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely21 views
Igniting Next Level Productivity with AI-Infused Data Integration Workflows by Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software263 views
Voice Logger - Telephony Integration Solution at Aegis by Nirmal Sharma
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma39 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi127 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson85 views
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
Piloting & Scaling Successfully With Microsoft Viva by Richard Harbridge
Piloting & Scaling Successfully With Microsoft VivaPiloting & Scaling Successfully With Microsoft Viva
Piloting & Scaling Successfully With Microsoft Viva

Intro to Appcelerator Titanium - Code for Fort Lauderdale 2015

  • 1. Building Cross Platform Mobile Apps: An Introduction to Appcelerator Titanium Adam Paxton Code for Ft Lauderdale / Appcelerator Meetup August 26, 2015
  • 2. Overview • What is Appcelerator Titanium? • Why use it? • Pros • Cons • Tools Walkthrough • Code Demo
  • 3. Hello • Mobile App Development
 Polanco Media, LLC (We’re hiring) • 5 years working with Titanium • TCAD, TCMD certified • Titanium Titan User Group • Co-organizer Titanium Cancun Meetup • South Florida Titanium Meetup github.com/adampax
 @adampax Titanium Meetup: http://bit.ly/tisofla
  • 4. We are: • Web developers • Companies with existing developer teams • Startups • Someone with an idea
  • 5. We want to build: • App for ourselves (or our community) • App for our client • App for our enterprise
  • 6. What do we use? • iOS - Objective C / Swift • Android - Java • Mobile Web - HTML5 • Windows Phone - C# / JavaScript
  • 7. Another Option: Appcelerator Titanium • Appcelerator, Inc - Based in Mountain View, CA • Open Source • Titanium SDK and CLI • Alloy MVC Framework • Paid (Free to try) • Appcelerator Studio IDE • Arrow - Mobile backend storage, push notifications, API builder
  • 8. Titanium • Cross platform development environment for creating native mobile apps • Program with JavaScript • Free and open source • Not a webview wrapper or app generator - builds native apps • Builds with platform SDKs • Android SDK toolset required for Android apps • Xcode (and a Mac) required for iOS Apps
  • 9. How does it work?
  • 10. How does it work? • Write your code in JavaScript • Code is minified and packaged with with Titanium APIs and JavaScript interpreter (JavaScriptCore for iOS, V8 for Android) • Ti SDK uses native SDK (Xcode, Android, etc) to package it all up • JavaScript interpreter executes your code and builds connections to native objects using the Titanium APIs appcelerator.com/product/
  • 11. Pros • Maintain a single code base across multiple platforms • 60% to 90% code re-use across platforms • Use your or your team’s existing JavaScript skills • Faster ramp up with JavaScript for new developers • Native interface, native controls, native experience appcelerator.com/titanium/titanium-sdk/
  • 12. Cons • Does not cover entire API for all platforms • Over 5000 APIs are supported • You can extend the API to access any additional APIs you need • Extra layer of abstraction means more to manage • New feature release / bug fix in iOS / Android — must wait until supported /fixed in Titanium (This is getting faster, often same day as iOS release) • Potential for bugs in Titanium • As of version 4.0.0 (Spring 2015) Licensing of the tools (free vs OSS) is a bit of a pain
  • 13. The Tools • Titanium SDK • Appcelerator Studio* • Titanium CLI • Arrow Cloud Services* • Alloy MVC Framework *Paid
  • 14. Titanium SDK • Everything uses the SDK • Updates usually released monthly • Current version: 4.1.0.GA
  • 15. Appcelerator Studio • IDE used to build, test, package and publish mobile applications across platforms • Based on Eclipse • Requires subscription • Runs on Mac, Windows, Linux • Code completion, debugger and breakpoints • Wizards for configuring native SDKs, creating new app projects
  • 16. Titanium Command Line Interface • Node.js-based command-line tool for managing, building, and deploying Titanium projects • Don’t want to use Eclipse/Studio? Use the CLI with your favorite editor • SublimeText, Atom, VIM, etc. • titanium build --platform android docs.appcelerator.com/platform/latest/#!/guide/Titanium_Command-Line_Interface_Reference
  • 17. Use Your Own IDE with Titanium • Sublime: https://github.com/MattTuttle/sublime-ti-build • Atom: • Package: https://github.com/yomybaby/atom-titanium • Guide: https://github.com/m1ga/titanium_with_atom • IntelliJ IDEA, NetBeans: https://github.com/navinpeiris/jsca2js h/t @FokkeZB
  • 18. Arrow Cloud and API Builder • Collection of pre-built services for handling Mobile Backend requirements • Node.js hosting • API builder • ArrowDB, schema-less data store • Integration with Studio, CLI • Push notifications • DB Connectors for Azure, Salesforce, MSSQL, MySQL, MongoDB appcelerator.com/product/arrow/
  • 19. The Code - Titanium ‘Classic’ • Original syntax for Titanium code • All UI, data, logic defined in js code • Directly access Titanium API • CommonJS modules var win = Titanium.UI.createWindow({ title: ‘My Window’, backgroundColor: ‘#fff’ }); win.open();
  • 20. The Code - Titanium Alloy • MVC Framework — Model, View, Controller • Recommended for new projects • Structure code into separate sections for data, UI, logic • Models— represent database records, API queries, etc. Based on Backbone.js • Views — XML to define UI objects, TSS (like CSS) to style them • Controllers - JavaScript containing logic — what happens when a button is clicked? etc.
  • 21. Alloy • Keeps your code cleaner, enabling re-use • Can still use CommonJS libraries with Alloy. Popular libraries underscore.js, moment.js already included • Built-ins for conditional code • TSS styling similar to CSS, easy to setup and re-use styling • A lot more features
  • 22. Community Tools • TiShadow - tishadow.yydigital.com - Rapid testing for Titanium, very useful! • Platino - platino.io - build 2D and 2.5D mobile games with Titanium (Free to try) • TiSlack Chat - topener.nl/tislack • Gittio - gitt.io - search engine for Titanium modules and Alloy Widgets • Ticons - http://ticons.fokkezb.nl/ - Generate app icons and splash screens for iOS and Android • Material Palatte - materialpalette.com - Generate Material theme for Android (check the demo app for example)
  • 23. Final Notes • Use Titanium for faster mobile development • Use Alloy for faster Titanium development :) • Start downloading here: http://www.appcelerator.com/signup/ • Documentation: docs.appcelerator.com • Help: community.appcelerator.com
  • 24. Future South Florida Titanium Meetups • Meeting monthly on a Tuesday or Thursday? • Call for Speakers, ideas: • Share a new process, library, module • App walkthrough • Discuss more at South Florida Titanium meetup page: bit.ly/tisofla
  • 25. Thanks • Thanks Rob and Code For FTL Team • Thanks Sebastian @ Axis Space • Thanks Appcelerator for the Pizza
 
 
 
 Show some code: github.com/adampax/TiCodeForFTL