html5 vs native

7
<HTML5/> vs *native; /* For mobile development */

Upload: silicon-straits-saigon

Post on 29-Aug-2014

621 views

Category:

Technology


1 download

DESCRIPTION

Recently, we had a request from customer to make an app that help people in difficult situations send out help message immediately. The weird thing is that although the app is build for Android only (because iOS do not allow 3rd app to send SMS automatically), they want to make it hybrid application. Imagine that you have heart attack need to send help message but unfortunately the app is not respond to user input, that's why this kind of app need to be extremely reliable, but that is one of the weaknesses of HTML5/hybrid app. Besides, it's not utilize the biggest advantage of hybrid app that is cross platform development. This app absolutely should be native. So, when to use HTML5/hybrid and when to use native for mobile development? We recently have a discussion about this topic, please find the slide on Slideshare for more details. Summarily, for better user experience, native app is always the first choice at this time, for some specific requirements (i.e. app for a marketing campaign, app for events) we can consider to use HTML5 to save cost and time. HTML5 has a long way to go, however it's very potential as web technology for mobile continues to improve.

TRANSCRIPT

Page 1: Html5 vs native

<HTML5/> vs *native; /* For mobile development */

Page 2: Html5 vs native

HTML5, Hybrid, Native...

HTML/JS

Browser

OS

HTML/JS

Webview control

Native code

OS

Native code

OS

Hybrid

Page 3: Html5 vs native

Why Facebook used to choose HTML5?

●  Multi platform

●  Update new features behind the screen

●  Leverage code from mobile web app

●  Engineer familiar with web technology

●  ...

Page 4: Html5 vs native

Why Facebook abandoned HTML5?

UX

Page 5: Html5 vs native

Does HTML5 suck?

fb.html5isready.com dart-lang.github.io/pop-pop-win

famo.us todo

Page 6: Html5 vs native

Some thoughts

1. To use or not to use HTML5

2. HTML5 is always the second choice

3. Why HTML5 app slower than native? And

Android slower than iOS?

4. Should I start to learn HTML5?

Page 7: Html5 vs native

Thank you!

Q/A