HTML5 is growing in importance and will continue to be a dominant platform for many use cases in the foreseeable future. Enterprise architects need to consider weaving HTML5 capabilities into their application development tool chain, especially for browser-based applications running within the enterprise and consumer-facing applications accessed from a PC browser. HTML5 is superseding Flash and Silverlight for offering rich multimedia functionality on PC-based Web browsers.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
It is also important to put the use of HTML5 for developing mobile applications into the appropriate context. HTML5 commonly refers to applications delivered via a browser, while native can refer to applications written in platform-specific programming languages, as well as hybrid apps composed of HTML5 and client-specific libraries, said Al Hilwa, program director at IDC. Hilwa recently published a report on The Evolving State of HTML5.
Trade-offs abound for HTML5
Some enterprises, such as the Financial Times, actually see great benefit from leveraging a focus on HTML5 as a way to avoid the tolls associated with application stores. Meanwhile, other companies like Facebook and LinkedIn have been very vocal about shifting away from HTML5 development in order to provide more performance applications with rich functionality only possible via native development approaches.
Hilwa noted that HTML5 applications face challenges from inadequate developer tooling, developer skill immaturity, security and weak browser implementations. At the same time, HTML5 provides many potential benefits, such as allowing cross-platform deployment from a single code base, vendor support and ecosystem traction, including a diverse range of point tools, frameworks and solutions.
Hilwa expects to see HTML5 making its biggest mark in specific categories, such as internal employee applications that access enterprise resources. HTML5 is being used heavily on desktops today and mobile HTML5 is getting traction for casual games. In mobile applications, Hilwa expects to see the greatest use in hybrid approaches in which the same basic HTML5 code can be reused and combined with native libraries across platforms for better performance.
Mobile HTML5 challenges abound
On mobile platforms, many developers expect HTML5 functionality to be woven together with components for accessing native device functionality using hybrid applications that blend HTML5 and native code libraries, such as the Apache PhoneGap, which was contributed to the Apache Foundation by Adobe.
Gartner expects by 2016 more than 50% of mobile applications will be hybrid. Gartner recommended organizations evaluate development frameworks that allow them to develop native, hybrid and Web applications using the same code base. The enterprise should also consider consolidating development activities via cross-platform frameworks, said Van Baker, research vice president at Gartner.
This trend is reflected in developer job postings analyzed by indeed.com, a job listing service that has found that "HTML5 experience" is the fastest growing and most dominant keyword found in online job postings. It currently ranks as the No. 1 keyword ahead of iOS (No. 3) and Android (No. 4).
When looking at mobile, pure HTML5 development is facing significant competition, including hybrid and native development, mobile development tool vendor Appcelerator reported. Michael King, director of enterprise strategy at Appcelerator said, "We see lukewarm interest in HTML5 in general for mobile. If you are building a more mass-market application or looking at something internal for users to accomplish 'mobilification' of business processes, the reaction towards HTML5 has been poor."
Mobile HTML5 developers run up against three key challenges: performance, security and access to device sensors. With offline access, the HTML5 applications can only work with what has been cached in the browsers, which presents limitations on what can be secured. "You cannot cache application logic in most cases," King said.
Also, there is limited access to native sensors andAPIs that are not available with HTML5. The iPhone 5 has six sensors and the recent iOS comes with about 1,500 APIs that are difficult to leverage with pure HTML5 applications. "What is the point of building an application if I cannot have a mapping application to route employees or don't have a performant application for insurance quoting?" King said.
When reach is more important to performance
At the same time, King sees specific application categories where people are whole heartedly embracing HTML5. He is seeing growth in content consumption and forms-based applications for customer acquisition. Interactive applications, games and mapping applications that require heavy device requirements are steering clear of HTML5. King explained: "When we talk to our developers, they love the idea and promise of HTML5 for being able to write applications for responsive Web applications that will work on the largest tablet to the smallest smartphone."
With forms-based and simple customer acquisition applications, some of the disadvantages of HTML5 are not noticeable. Forms don't need access to a lot of sensors and performance is not as big of an issue. Customer acquisition applications don't need to go through the app store; a lot of times they can be accessed from a link sent via email.
While King does see some opportunities for leveraging HTML5 code across desktop and hybrid mobile applications, it is important to keep in mind the different use cases of these platforms. "The idea that I need an application that works on desktops and smartphones does not take into account how people use these things. I would recommend building separate apps for desktop and mobile that respect the different workflows on those platforms."
New specifications extend the reach of HTML5
Other developers believe HTML5 is beginning to take a lead role in mobile application development.
In addition, improvements to core HTML5 capabilities and developer tooling are making HTML5 more useful for a growing range of applications. For example, Wassell has been seeing a demand for data-driven applications that will continue to work when an Internet connection is not available. To do this, developers are turning to HTML5 Application Cache to store applications' resources. "Without HTML5, we couldn't do this," he said.
Other powerful HTML5 features like Web Sockets, Server-Sent Events and Web Messaging are also of much interest. "Some of these have not yet matured fully but have a lot of promise for improving communication between the Web browser and the server, which will bring about a more native mobile application experience like push notifications," Wassell said.
In the long run, Hilwa expects to see HTML5 and native mobile applications coexist with neither replacing the other, but native application platforms will remain the primary way mobile applications will be delivered.
About the author:
George Lawton is a journalist based near San Francisco. Over the last 15 years, he's written more than 2,000 articles on computers, communications, business and other topics. Find out more at glawton.com.
More on mobile HTML5
Everything you need to know about HTML5
Biotechnology company finds success with mobile HTML5 tool
Simplify mobile ALM with hybrid HTML5