News Archive

Why HTML5 is the new Java

Java was different in that it had the benefits of a compiled language, but thanks to the cross-platform “virtual machine” it ran on, it could run anywhere without recompilation or tweaking.

Wora stands for “write once, read anywhere” and was intended succinctly to capture this benefit. The Java libraries dealt with such things as working with the file system, using the networking features on the device and even creating new threads in an abstract, cross-platform way. As an engineer, having these complexities taken away from you was a welcome relief, allowing you to focus on your application and not the plumbing.

With the rise of interpreted languages such as PHP, Python, Ruby and JavaScript, Wora has become so commonplace it is almost assumed — unless, of course, you need to code in an older language such as C++. So, does the term still have relevance? I think so, but applied to a different environment – the Web. By this I refer specifically the client-side technologies that a browser uses to display content.

If we look at the Web, it’s easy to see the profusion of client-side Web technologies that characterises a youthful industry. Non-standardised proprietary technologies (Flash, Silverlight) mingle with conflicting standards (HTML, XHTML) to create a multitude of different ways to achieve the same things. While each presents particular innovations, for the developer and user, there is a diminishing benefit as the number of options grows and the complexity of developing and browsing the Web increases. Ultimately, for the user, content is king and the technology is incidental.

In terms of mobile, much has been written about the choice between native mobile apps (as delivered by app stores) and the mobile Web apps. While native apps must be written (and then rewritten) in a platform-specific manner, their ability to access all a phone’s features has been touted as outweighing this disadvantage. However, in truth these benefits are few and growing fewer as modern mobile browsers improve at a rapid pace.

As the feature set of competing technologies approaches parity, it is natural for one to win out as the default. I believe we are at such a juncture, and the battle has been fought (and won) by HTML5. In short, it is the Web’s new Wora — a platform that allows developers to focus on the applications they are writing without worrying about how the content will be displayed across a variety of different browsers and devices.

Why do I claim it has won? Let’s look at the big vendors:

– Google supports HTML5 most directly by developing Chrome, but has evangelised the standard for years with a number of tools and platforms, including YouTube’s support for HTML5 video since early 2010.

– Microsoft recently stated that Silverlight has been “repositioned” and HTML5 is its preferred Web technology. Added to this, Windows 8 supports HTML5 apps as first-class native apps, a move that takes HTML5 beyond the browser.

– Apple famously does not support Flash in its mobile browser, making HTML5 the only possibility for rich media. Also, its new iAds platform relies on HTML5 for presentation.

– Facebook chief technology officer Bret Taylor’s focus for 2011 is mobile and HTML5, or mobile on HTML5.

There are many more vendors and examples, but the case for HTML5 is becoming clear. It is the platform on which, for the foreseeable future at least, content can be written once and read anywhere, from sites to ads to apps. Much like Java’s impact on server-side programming, the start of the HTML5 era is a significant milestone for the Web and it’s time to get on-board.

Source: Techcentral News

 

Tags

PC Tech

Posts on this account are made by various editors.
Back to top button
Close

Adblock Detected

Please disable your adblocker to continue accessing this site.