Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Mobile HTML5 remains relevant, but faces challenges

Enterprise architects need to add mobile HTML5 to their repertoire if it isn't already there, as more organizations aim to leverage the technology.

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.

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

The HTML5 platform itself faces many challenges, ranging from the lack of full standardization across browser implementation, immature developer tooling, performance impacts and feature support on native devices. Furthermore, the rich set of features delivered through HTML5 applications depends on a mishmash of technologies, including HTML5, CSS, JavaScript and WebRTC, each of which face their own developer tooling, implementation and security issues.

We see lukewarm interest in HTML5 in general for mobile.
Michael KingAppcelerator

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).

Going mobile

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

Tyler Wassell, software development manager at Michaels, Ross & Cole Ltd., a Web application development software company, sees a growing interest HTML5 over native. He explained: "HTML5 via new JavaScript APIs brings robust communication, Web data storage and file management capabilities to the browser, and more importantly, to the mobile browser. Because of this, I think we are seeing more and more mobile Web applications replacing native mobile applications."

Wassell pointed to the growing interest in using JavaScript as the programming language of the Web, which can allow developers to take advantage of HTML5 capabilities. There is a lot of buzz right now around full-stack JavaScript application development with NOSQL databases like MongoDB, Node.js as an application server, as well as an ever-growing number of client-side JavaScript frameworks to render content in the browser, like Angular.js, Ember.js and Backbone.js. "With regards to Web application development, I see JavaScript/HTML5 continuing to grow and be dominant on the Web," Wassell said.

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.

Follow us on Twitter at @SearchSOA and like us on Facebook.

 

Next Steps

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

This was last published in August 2014

Dig Deeper on Microservices and mobile development

PRO+

Content

Find more PRO+ content and other member only offers, here.

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

Which mobile HTML5 obstacle has been the most difficult for you to overcome?
Cancel

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close