Professional Documents
Culture Documents
Sencha Touch
Why should I be building rich mobile apps with with web standards? Q1
Q2
Q1:
Mobile
New users New relationships New contexts New business models New channels The future of human communication
Q2:
Mobile Web
Cross-platform* Existing skills & tools No approval required Native APIs* Easy updates
HTML5
47%
http://metrics.admob.com
January 2010
WebKit Rocks!
HTML5 + CSS3 Transforms, Transitions, & Animations Canvas SQLite Cache Manifest Geo-Location
Components
Lists - Nested, Grouped, Sortable Carousel Picker Overlay Slider Forms & elds Toolbars & buttons HTML5 - Audio - Video - GeoLocation
Forms
Touch Events
Built on native events Abstracted for performance Additional events - Tap - Double tap - Tap and hold - Swipe - Rotate - Drag & drop
Scrolling
Momentum/bounce physics Hardware accelerated Throughout all components: - Lists - Carousel - Pickers
Data Package
Models, Stores, and Proxies - Associations - Validation - Local & server storage Easily consume web services - JSON/P - XML - YQL
http://sencha.com/x/5e
Theming
CSS3, SASS & Compass - Flexible themes - Highly optimized 300+ Pre-included icons Robust Animations Resolution Independent
Application
Controllers Models
Desktop Mobile
HTML, CSS...
Controllers Models
Mobile Fu
class ApplicationController < ActionController::Base has_mobile_fu end
https://github.com/brendanlim/mobile-fu
An application approach
Switchers
Controllers Models
req/res
Rendering
Thematic consistency
w3c-speak
http://mysite.com/posts/123
http://mysite.com/#!/posts/123
http://mobiforge.com/
Brand consistency
Good luck!
http://sencha.com/products/touch/
James Pearce
Director, Developer Relations @ jamespearce jamesp@sencha.com