Pros :
- Likely standard for cross-platform mobile development.
- It has open standards, open source, easy to dive in, tools & libraries support and diverse community.
- Its combination with JavaScript & CSS3 make it more special to do great things.
- All modern mobile operating systems include native WebView control (Webkit) which can run this rocking combination of HTML5+JavaScript+CSS3.
- Same old web development skills are required, which could make it an ideal option for the web development community.
- Same code base could be used for other non-mobile environments with a little work.
- Dream of supporting all major platforms with a single-shot becomes reality.
- Many of the modern cross platform mobile development frameworks are based on HTML5.
- Lot of companies (including Facebook) are looking at HTML5 as the future platform for their apps that target next generation devices.
- An easy way out to cut your time and cost.
- Packaged in a native distribution with an embedded WebView.
- Device capabilities (Camera, contact, sms & file storage etc) can be utilized unlike conventional web applications.
- You can stay away from learning Java, Objective-C, C++ and other SDK specific languages.
- HTML5s offline application cache can store your HTML, CSS, and JavaScript on the device. After the first load (effectively an install), it’ll launch without an Internet connection, just like a native app.
- If local storage isn’t enough, there’s a full-fledged SQLite database built into WebKit.
- All WebViews provide hooks from Javascript to Java and vice a versa.
- Rapidly prototype an app. targeting multiple devices including: iPhone, iPad, Android Devices, Chrome OS Devices, Mobile WebKit Browsers & Desktop Browsers.
- Any native app can contain a WebView. If you need native for only part of a cross-platform app, there’s no reason you can’t code other parts of it in HTML
- If you’re targeting multiple platforms, or your expertise is largely Web-centric — and if you’re willing to spend some time optimizing — then it would a certain option.
Cons :
- Be ready to make trade offs.
- Native apps perform better than HTML-based ones, More accurately, it takes more work and expertise to achieve decent performance in a Web app than great performance in a native one.
- Its not suitable for extremely complex and highly interactive applications (3D game , multimedia or animated app).
- At the end its a web-app which is presented in the native wrapper, an intelligent user can distinguish the difference.
- Available support is inconsistent across platforms and browsers.
About the author