Transcript
Page 1: Mobile app development: Going hybrid

Going hybridMobile apps with web technologies

Page 2: Mobile app development: Going hybrid

What’s hybrid?

Page 3: Mobile app development: Going hybrid

How do you do that?

PhoneGap

SenchaTitanium

Calatrava

Trigger.ioRhoMobileM Project

MoSync

AppFramework

Page 4: Mobile app development: Going hybrid

How do you do that?

PhoneGap

SenchaTitanium

Calatrava

Trigger.ioRhoMobileM Project

MoSync

AppFramework

Page 5: Mobile app development: Going hybrid

Woah! Wait - what?http://avgp.github.io/hybrid-strategy-picker/

Page 6: Mobile app development: Going hybrid

The 3 big secrets1. The uncanny valley

Page 7: Mobile app development: Going hybrid

The 3 big secrets2. Hybrid is different from everything

Page 8: Mobile app development: Going hybrid

The 3 big secrets3.

Page 9: Mobile app development: Going hybrid

The hitchhiker’s guideto PhoneGap

Page 10: Mobile app development: Going hybrid

TestTest often & test in Phonegap!

Page 11: Mobile app development: Going hybrid

OptimizeCaching, Minification, LocalStorage

Page 12: Mobile app development: Going hybrid

Use the forceConnection API, Battery API, Accelerometer

Page 13: Mobile app development: Going hybrid

If it’s native......there’s a PhoneGap plugin for it.

Page 14: Mobile app development: Going hybrid

War stories

Page 15: Mobile app development: Going hybrid

iOS and the iframes

<iframe src="http://example.com"></iframe><a href="http://somesite.com" target="_blank">Open</a>

Android: iframe is embedded, link opens a browseriOS - round 1: iframe opens a new browser on start.iOS - round 2: "stay-in-webview=true"

iframe is embedded, link opens in the app

Page 16: Mobile app development: Going hybrid

Android and the datepicker

The browser on Android

Page 17: Mobile app development: Going hybrid

Android and the datepicker

PhoneGap on iOS

Page 18: Mobile app development: Going hybrid

Android and the datepicker

PhoneGap on Android

Page 19: Mobile app development: Going hybrid

Android and the datepicker

What the ..??

Page 20: Mobile app development: Going hybrid

The dark side of the browser

● “Relayout” & Repaint events● HW-acceleration is magic● Bitmap grouping (webkit-transform: translateZ(0))● Compositing● Be really careful with AppCache

Page 22: Mobile app development: Going hybrid

Thank you! Questions?


Top Related