Content area
Full text
HTML5 is breathing new life into Web applications, hinting at major shifts in programming to come
The basic Web application paradigm hasn't changed in almost two decades. Even the latest, slickest HTML5 websites resemble those of the early days of the Web, at least at their core. A developer wraps tags around data and writes a bit of JavaScript to make the sites somewhat more interactive. So what's all the big fuss over HTML5 being a game changer for apps on the Web?
First off, while the model hasn't varied, the feel of the sites deploying the latest HTML5 features is dramatically more interactive and dynamic. Whereas yesterday's Web offered essentially static displays of data, HTML5 forerunners are serving up dynamic presentations through which the data moves and flows quickly. Relatively small enhancements such as these make all of the difference in speed and sophistication.
[ Find out how to hack your browser in 7 easy steps | Also on InfoWorld: "HTML5 in the browser: Canvas, video, audio, and graphics" | "HTML5 in the browser: Local data storage | "HTML5 in the browser: HTML5 data communications" | "HTML5 in the browser: HTML5 forms" | "HTML in the browser: Geolocation, JavaScript, and HTML5 extras" ]
The emerging HTML5 model for Web apps differs in four major areas. The most visible may be the relative standardization of the canvas object, an improvement that makes it easier to write Flash-like animations with JavaScript. The results are often just as, well, flashy as the ones that come from Flash for anyone who's able to put in the time. Casual game developers who used to write for Flash are producing slick games that run in JavaScript alone.
Developers continue to report that the tools and libraries for Flash code are substantially better than those for HTML5, but this is changing. The gap will probably narrow, given the major push by the browser makers to cut Adobe out of the loop, but it may be difficult to unseat Adobe, considering the depth and quality of its tools.
The other major differences lie below the surface. The latest browsers offer Web developers a local database for caching several megabytes of material. Most users won't even notice this reliance on the browser...





