Вопрос

We often hear 3 kinds of apps :
1. Purely HTML5
2. Hybrid apps
3. Native apps

So what are the key differences between these items and what exactly is a purely HTML5 app?

Thanks
Smitha

Это было полезно?

Решение

Speaking of e.g. iPhone and Android,

  • native apps are built in ObjC/Java.
  • HTML5 apps are built in JS/HTML/CSS and displayed using the native browser.
  • hybrid apps are built from both, with a custom-built wrapper (in ObjC/Java) that interacts with HTML/JS/CSS code (often with the help of a library such as PhoneGap).

Native apps are non-portable but fast; HTML5 apps are portable but limited to what HTML5 allows you (for example, you can't access a SD card from JS). Hybrid approach gives you portability of a HTML app, while you can still write extensions in native code to handle system-dependent, or time-critical sections.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top