Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
HTML5 Zone is brought to you in partnership with:

John Esposito curates content at DZone, while writing a dissertation on ancient Greek philosophy and raising two cats. In a previous life he was a database developer and network administrator. John is a DZone Zone Leader and has posted 268 posts at DZone. You can read more from them at their website. View Full User Profile

Analysis: HTML5 on Mobile

02.22.2012
Email
Views: 1892
  • submit to reddit
The HTML5 Microzone is presented by DZone and Microsoft to bring you the most interesting and relevant content on emerging web standards.  Experience all that the HTML5 Microzone has to offer on our homepage and check out the cutting edge web development tutorials on Script Junkie, Build My Pinned Site, and the HTML5 DevCenter.

Last week Peggy Albright on FierceDeveloper.com wrote an interesting analysis of mobile developer adoption of HTML5.

Peggy's audience is mobile developers at large, so she spends a bit of time introducing/evangelizing HTML5 to that superset. But if you're here in our HTML5 Zone, you probably already have some HTML5 chops, or maybe even some HTML5 mobile chops -- so this more focused group can zoom in on some of the more interesting details.

First, the numbers:

But 75% also said they will continue to support native apps.

In general the numbers indicate growing developer interest in HTML5, but considerable suspicion against the strong form of HTML5's 'write once, run anywhere' promise. What these numbers don't say, however, is whether HTML5 will gain more mobile ground if APIs for device-specific features continue to multiply -- or even whether open APIs directly from vendors, like AT&T's, will strengthen JavaScript on the telecom, rather than mobile hardware, side.

In fact, it's generally pretty hard for a developer to understand fully the complex network linking telecom giants, hardware manufacturers, OS vendors, standards bodies, and straight-up web developers, at both enterprise and hacked-together-a-cool-app levels. mobilehtml5.org will get you the quick-and-dirty facts on HTML5-on-mobile compatibility, but won't too much help you forecast the trends that you'll need to know to avoid tying your apps to a (who knows?) sinking technological ship.

My personal (perhaps naive) guess is that mobile device manufacturers have pretty much figured out what basic hardware is useful (camera, mic, vibration, accelerometer, notifications), at least in the short term (projectors and 3d gesture-recognition possibly excepted) -- which means that, one the JavaScript APIs give HTML5 apps access to all these existing features, native will have hardly any advantage beyond performance. (This is all leaving aside PhoneGap, of course -- which does a great job filling the space between JavaScript and native, but has some limitations, and won't be necessary if/when mobile browsers support extensive and standardized device APIs.

Peggy's full article is definitely worth reading, even if only as a solidification of trends you already suspected. But what do you think? how invested are you in the idea of the browser as a platform for mobile? and even if so, do you have any ideas for new APIs that might even more successfully bridge the gap between HTML5 and native?

Published at DZone with permission of its author, John Esposito.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

HTML5 is the most dramatic step in the evolution of web standards. It incorporates features such as geolocation, video playback and drag-and-drop. HTML5 allows developers to create rich internet applications without the need for third party APIs and browser plug-ins.  Under the banner of HTML5, modern web standards such as CSS3, SVG, XHR2, WebSockets, IndexedDB, and AppCache are pushing the boundaries for what a browser can achieve using web standards.  This Microzone is supported by Microsoft, and it will delve into the intricacies of using these new web technologies and teach you how to make your websites compatible with all of the modern browsers.