Mobile Development with HTML5 Hunter Loftis @hunterloftis email@example.com
Status4: Golf gtggolf.com Realtime, distributed teamscoring on iPhone, Android, and Blackberry.
Mobile HTML5 Open-Source github.com /madrobby/zepto/hunterloftis/backbone.viewmodel
So?Today, we’ll discuss and distill the lessons learned from these experiences into practical guidelines for building mobile HTML5 apps.
Before you jump in ask yourself three questions:
Can I build this natively?• You know (or have time to learn) the language and APIs.• You can target a single platform.• You have the resources to support and maintain per-platform code bases.• Your audience will commit to your app.
Why mobile HTML5?• You are a front-end web expert (or team).• Support for many current & future devices.• Faster, cheaper dev cycles.• Daily platform improvements for free.• You accept the 50% performance penalty.
Mobile web, or hybrid?• web: URLs, browser security model, and immediate deploys/updates• hybrid: app stores, device security model, and gated deploys/updates• you can do both, but it’s harder than you think.
Starting the app The easy parts
Quick Start https://github.com/skookum/mobilehtml5 http://hunterloftis.com/mobile/(demos are intentionally un-factored and verbose; apply proper engineering to real projects)