In the past few years, there has been much talk of HTML5 as the future application platform for desktop and mobile apps. People often debate the merits of HTML5-powered apps versus native applications, but the ability to customize the interface and "write once, deploy anywhere" means that HTML5 can be ideal for employee-facing mobile apps.
What is HTML5?
HTML5 is a version of the HTML programming language that developers use to create Web pages. It's designed to avoid many of the add-on compatibility issues that plague older Web pages and browsers. For instance, HTML5 can render multimedia on its own without the need for extra browser plug-ins.
HTML5 also has the advantage that it's an open standard all modern browsers support. There are slight variations among different browsers for very advanced features, but in general HTML5 doesn't have nearly as many issues as older HTML versions.
HTML5 apps: A natural fit
All the things that make HTML5 so modern and usable also make it well-suited for mobile devices. For example, mobile browsers don't support multimedia plug-ins, so it's a big plus that HTML5 can function without them.
From a visual standpoint, designers can create mobile-appropriate user interface elements using HTML5 features such as canvas, which allows pixel-level control of shapes and images, and the <SVG> tag, which creates vector-based graphics.
HTML5 can also interact with a mobile device's hardware and software features to create a rich user experience. Geolocation, motion sensors, different types of virtual keyboards and touch events are all available to HTML5 apps.
Tradeoffs with HTML5 apps
HTML5 is ideal for enterprise applications because developers can update its apps more easily than native apps, and a single version of an app can work on Apple iOS, Google Android and other mobile OSes. Plus, many enterprise-oriented mobile app development platforms make use of HTML5 client apps. As enterprises replace legacy Windows older Web apps with HTML5, they can use responsive design concepts to create applications that work for both desktops and mobile devices.
In the debate between HTML5 app and native apps, the primary argument is that HTML5 apps may be simpler to build and distribute, but native apps will always offer better performance and more advanced features. This is true, but the tradeoffs can be acceptable. Developing native apps for all enterprise use cases would be prohibitively expensive, and many enterprise applications don't need advanced features such as high-performance graphics.
Still, IT will have to figure out how to deliver and secure HTML5 apps. Existing mobile device and application management tools can handle Web and hybrid HTML5 apps with ease.
IT can secure HTML5 Web apps using EMM vendors' browser apps or built-in browser management frameworks that are now part of iOS and the Android for Work security platform. Some mobility management vendors even allow IT to publish any Web app in a site-specific browser package, essentially creating an instant hybrid app.
Even though native mobile apps are dominant in the consumer market, HTML5 apps can play a significant role in enterprise mobility.
This article originally appeared in the July/August issue of the Modern Mobility e-zine.
Meeting the challenges of HTML5 apps
Are HTML5 mobile apps a security concern?
Which is right for you: native or HTML5 apps?