2. About Me
• Been with Appc 3 ½ years
• Stuff I've done
– Early versions of www site
– Dev center Q&A
– Titanium Mobile Web
platform
– Titanium CLI
– Titanium platform build
scripts
• JavaScript Guru
3. What's New in 3.2
Titanium 3.0.0,
3.0.1, 3.0.2, 3.0.3
Titanium 3.1.0,
3.1.1, 3.1.2, 3.1.3
Titanium 3.2.0
778
816
1717+
10. Android Build
•
•
•
•
•
•
Complete rewrite from Python to Node.js
Support for CLI plugins
Android 2.3.3 no longer required
Builds are about 13% faster
Nearly 100 bug fixes
Distribution builds much, much faster thanks
to UglifyJS
• Support for multiple emulators AND devices
• No longer creates AVDs, you manage your
own
11. •
•
•
•
•
Fast x86 Android emulator
Built on top of VirtualBox
Beta support with Titanium
http://www.genymotion.com/
titanium config
genymotion.enabled true
13. iOS Build
•
•
•
•
•
•
•
•
Builds are about 20% faster
Xcode 5.0.1 and iOS 7.0.3 support
64-bit iOS Simulator support
iOS Simulator profiles
Fixed several bugs
Improved validation
Improved symbol detection
Certificate and provisioning profile
selection
14. No More iTunes Sync
• Direct install to iOS device
• Insanely fast
• Supports install to multiple devices
simultaneously
• https://npmjs.org/package/node-ios-device
16. CLI Plugins
• Contains commands, event hooks, &
function hooks
• Global and per-project
• Global and Module hooks
17. Anatomy of a CLI Command
• /some/dir/mycommand.js
• ti config -a paths.commands /some/dir
• ti mycommand -baz wow
18. Anatomy of a CLI Hook
• /some/dir/myhook.js
• ti config -a paths.hooks /some/dir
19. Packaging a CLI Plugin
• Global plugins go in ~/Library/Application
Support/Titanium/plugins
– Can contain commands and hooks
– Automatically loaded for every Titanium
command
20. Packaging a CLI Plugin
• Project plugins go in <project dir>/plugins
• Can contain hooks only
– Loaded by "build" and "clean" commands
• Must be enabled in tiapp.xml
22. How to get it:
npm install -g
git://github.com/appcelerator/titaniu
m.git
ti sdk install -b master -d
DISCLAIMER: This is not fully tested. This is not stable code. Use at your own risk.
24. Build Profiles
• Controls build settings
– JavaScript minification
– JavaScript encryption
– Debugging
– etc
• Global or per-project
• Project-level defined in
tiapp.xml
– Can contain any tag
28. Titanium Daemon
• Server that runs in background
• Plugin architecture
• Device notifications
– Connected devices
• Environment caching
• Check for Titanium updates
• Web server plugin w/ interface
– Environment info (same as "ti info")
– Debug proxy
– Serve Titanium Mobile Web apps
• Run similar to "adb"
– Do not require root priviledges
Titanium 3.2… or "how I spent the last 6 months of my life"
Follow me for important info like what I ate for breakfast
Titanium 3.2… or "how I spent the last 6 months of my life"
Titanium 3.2… or "how I spent the last 6 months of my life"
Titanium 3.2… or "how I spent the last 6 months of my life"
Titanium 3.2… or "how I spent the last 6 months of my life"
Titanium 3.2… or "how I spent the last 6 months of my life"
Titanium 3.2… or "how I spent the last 6 months of my life"
Titanium 3.2… or "how I spent the last 6 months of my life"
!!! Presentation Tip !!! Use relevant icons to mark each section.Sectional transition sides help divide up the presentation and the guide the audience to the next topic of discussion