Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cross-platform App Development with Titanium

Alco
May 28, 2013

Cross-platform App Development with Titanium

Slides for my talk at Elance on May 28 2013

Alco

May 28, 2013
Tweet

More Decks by Alco

Other Decks in Programming

Transcript

  1. #sv-tug #appcelerator #titanium #tialloy Cross-platform Mobile App Development with Titanium

    Ricardo Alcocer - Lead Developer Evangelist @ Appcelerator Twitter: @ricardoalcocer
  2. About Titanium Not a language, but a high-level Javascript SDK

    Allows you to build Native Apps for iOS (iPhone, iPod Touch, iPad) Android (Phone and Tablet) Mobile Web Tizen Blackberry 10 (beta) Soon for Windows 8 Free and Open Source! It’s Native, NOT web app or hybird
  3. UI DEFINITION: INDEX.XML < a l l o y >

    < t a b g r o u p i d = " w i n " > < t a b t i t l e = " T a b 1 " i c o n = " K S _ n a v _ u i . p n g " > < w i n d o w t i t l e = " T a b 1 " > < l a b e l > I a m W i n d o w 1 < / l a b e l > < / w i n d o w > < / t a b > < t a b t i t l e = " T a b 2 " i c o n = " K S _ n a v _ v i e w s . p n g " > < w i n d o w t i t l e = " T a b 2 " > < l a b e l > I a m W i n d o w 2 < / l a b e l > < / w i n d o w > < / t a b > < / t a b g r o u p > < / a l l o y >
  4. UI STYLING: INDEX.TSS " W i n d o w

    " : { b a c k g r o u n d C o l o r : " # f f f " } , " L a b e l " : { w i d t h : T i . U I . S I Z E , h e i g h t : T i . U I . S I Z E , c o l o r : " # 0 0 0 " , f o n t : { f o n t S i z e : 2 0 , f o n t F a m i l y : ' H e l v e t i c a N e u e ' } , t e x t A l i g n : ' c e n t e r ' }
  5. Built-in Services Chats Checkins Collections Events Data Files Friends Key-Values

    Messages Custom Objects Photos Places Posts Reviews Statuses Users Appcelerator Cloud Services
  6. With Titanium you can use what you know and love

    CommonJS Backbone Models Underscore.js Any Pure Javascript library that does not require DOM access
  7. User stats Over 450,000 developers worldwide Over 50,000 apps Over

    136,000,000 devices 1 in every 10 mobile devices run a Titanium-powered App