This is the Appcelerator Titanium presentation titled "Mobile for the rest of us" presented at the Mobile 2.0 conference in Mountain View, California on October 16, 2009. This presentation was given by Jeff Haynie.
Videogame localization & technology_ how to enhance the power of translation.pdf
Appcelerator Titanium at Mobile 2.0
1. Mobile for the rest of us
Mobile 2.0 Conference
Mountain View, CA
Jeff Haynie
@jhaynie
2. About Me
• @jhaynie @appcelerator
• http://blog.jeffhaynie.us
• jhaynie@appcelerator.com
• #titanium_app on freenode
3. Explosion of
opportunities
20% year over year growth anticipated for
next 5 years in smart phones
4. Oh no.
• iPhone (Objective-C, 28th!)
• Android (Java, Google Style)
• RIM (Java, Blackberry or Midlet style)
• Symbian (old school C)
• Palm Pre (Web 2.0)
• Windows Mobile (.NET compact)
• Maemo (GTK+)
5. Oh, yeah...
• Web Browsers
• Desktop Apps
• Net books
• E-Book readers
• Tablets
• etc etc.
6. We Web
• HTML, CSS, JavaScript
• Presentation / UI can easily be built with
HTML/ CSS
• JavaScript API for mobile features, platform,
UI
• Run locally, integrate cloud services
7. It’s the UX
Build applications that fit the
use cases that are tailored for
the modality
11. What we want
• Skills
• Tools
• Reusability
• Platforms
• Portability
• Speed / Cost
• Open source / Standards
14. Titanium
• Desktop: Win32, OSX, Linux
• Mobile: iPhone and Android (Palm WebOS)
• 100% code on github.com/appcelerator
• Apache Public License
• Active Open Source Community
15. Appcelerator Products
Create, test, and commercialize native mobile and desktop
applications with the web technologies you use today.
Develop Native iPhone Build Desktop apps Cloud services used for Web development tools
and Android apps with that can be deployed testing, packaging, that enable rapid RIA
full access to each with one code base on distribution, and development.
device’s APIs. the PC, Mac, or Linux analytics.
platforms.
18. UI
• Clean separation of Design from Code
• UI is constructed via HTML, CSS
• JavaScript access to create native controls,
native views, windows, etc.
19. JavaScript
• JavaScript is used to program Mobile
Features, Access local Resources,
Database, Remote Web Services, etc.
• Use your favorite JS Toolkit - jQuery,YUI,
Dojo, Mootools, etc etc.
20. App Assembly
Titanium SDK compiles (using Titanium
Developer) the application using the Mobile
SDK into a native application
21. Mobile APIs
Geolocation
Accelerometer
Gesture
Analytics
Media
App
Network
Database
Platform
Facebook
UI
Filesystem
Yahoo
22. Building the UI
• <html> accepted here (including HTML5)
• optimized native UI controls
• hybrid UI composition
• custom native UI controls
33. Databases
var db = Titanium.Database.open('mydb');
db.execute('INSERT INTO DATABASETEST (ID, NAME ) VALUES(?,?)',
1,'Name 1');
db.execute('INSERT INTO DATABASETEST (ID, NAME ) VALUES(?,?)',
2,'Name 2');
db.execute('INSERT INTO DATABASETEST (ID, NAME ) VALUES(?,?)',
3,'Name 3');
db.execute('INSERT INTO DATABASETEST (ID, NAME ) VALUES(?,?)',
4,'Name 4');