From web apps to hybrid mobile apps
Leveraging web technologies for making native mobile applications
What's in for you
3 months of research, cutting edge stuff & lessons learnt
What's not in for you
The one way, definitive decision, code
What the web can do
Camera
Geolocation
Device Orientation
Offline Mode
Battery
Local Storage
What hybrid apps are
Web app
+ native extensions
+ native packaging& distribution
Full appsomeness <3
So much win
What you can do
- use all native APIs
- quickly iterate, multiple platforms
- write native extensions (when needed)
- publish & distribute in app stores
Approaches
Fundamental question
HTML 5 / CSS / Javascript
- or -
Javascript-o-rama
General architecture
-
UI:
- Javascript
- HTML / CSS / Javascript
- Native controls
-
Logic:
Javascript, lots of it
-
Packaging:
Native, multiple platforms
Warning!
The next slide may feel like this:
How to choose:
I/V: What's the goal?
How to choose:
II/V: Do you target multiple platforms from the beginning?
How to choose:
III/V: How many purely native features do you need? Which?
How to choose:
IV/V: Where is the complexity?
How to choose:
V/V: What about your team?
Don't trust anybody, test it yourself
(Martin's rule of mobile app development)