Entries tagged with “html 5” from O'Reilly Radar
Why is HTML Suddenly Interesting?
by Simon St. Laurent | comments: 16
Web developers couldn't stop talking about HTML and its evolution during the 1990s. New features were usually tempting, though not always workable, and the Browser Wars meant that vendors competed by providing and copying features. The HTML standardization process had its twists and turns, moving from the IETF to the W3C, developing standards that reflected immediate needs and tried to channel developer energy in more productive directions.
Then, suddenly, HTML was incredibly boring. The dot-com bust was part of that, but a more fundamental change doomed the conversation: Microsoft dominated the space. Whether because of the dominance of Windows, the technical quality of key innovations like Dynamic HTML, or the disappearance of Netscape into AOL, the stark reality was that Internet Explorer ruled the browser world. Outsiders asking Microsoft for improvements to Internet Explorer invariably heard that Microsoft would be willing to upgrade IE "when our customers ask for it" - which was an almost polite version of no.
As a result, the last decade, even for those of us who turned to Mozilla, Opera, Safari, Chrome, or other browsers, has been one long exercise in making the most out of tools that took their last major steps in the late 1990s. There was enough in HTML 4.01, Cascading Style Sheets 2, JavaScript, XML, HTTP, and XMLHttpRequest to keep us busy, especially as users acquired higher-speed connections and faster computers. There was also constant frustration with browser limitations, driving the development of more flexible plugin approaches like Flash and Silverlight, though none of them succeeded in replacing the traditional Web, however dull it might have become.
Today, though, the HTML conversation is reborn. Standards development around HTML seems to actually have a chance of influencing user experience in the browser, and Microsoft itself is participating in the HTML 5 conversation despite still holding roughly two-thirds of the browser market. While Microsoft's market share is only slowly eroding, developer mindshare seems to have shifted decisively to the band of WHATWG upstarts, Microsoft's competitors.
The reason for this, I think, is that HTML 5 clearly has a bright future in a place that Microsoft can't presently block: mobile web browsers. When I ask people about the future of computing, the word I keep hearing in their answers is "mobile". Even if it's small now, it has a much greater effect on how people evaluate what's coming.
Microsoft has a mobile presence, certainly, but it's hard to argue that it has anywhere near the visibility of the iPhone, or even the Android. Mobile web browsing has kept Opera going for years, but the iPhone and Android give Apple and Google much more visibility for their HTML 5 work, and Apple's decision to keep Flash off the iPhone in particular gave developers further cause to rethink their dependencies. (The WebKit browser engine these share will also be integrated with Blackberry soon, and is also on the Palm Pre.)
In the mad rush to build mobile applications, HTML 5's competition isn't even desktop web browsers, but other mobile development toolkits. As my co-worker Keith Fahlgren put it recently:
Speaking from personal experience, I've had a lot more fun writing an HTML5 application based on CSS3, the database API, and jQuery that runs out of the box on all of the hot mobile platforms than I ever would have had writing some silly Objective C app for a locked down App Store (or Java for an open one).
This creates a whole new world for the "where should HTML go?" conversation. Web developers certainly have pent-up demand for new features, but previous conversations about revising HTML always foundered on the "but will Internet Explorer support it?" question. Today, when that question feels less important, the ice is finally breaking. (Microsoft is even participating in HTML 5, though it's not yet clear how committed they are to implementation.)
It will doubtless be years before developers can safely deploy fully-featured HTML 5 sites without concern for older browsers, but for the first time it is plausible that changes to HTML will find wide adoption, and hope is rising. That hope, of course, brings its own risks. I can't say the HTML 5 process has done credit to either the W3C or the WHATWG - it feels to me like an ugly scramble - and there are plenty of specific decisions that deserve careful questioning. That the broken process is actually important to people, however, is a huge sign in itself that HTML is relevant once again.
After years of quiet, it's worth paying attention again!
tags: html 5, iphone, microsoft, mobile
| comments: 16
submit:
Google Bets Big on HTML 5: News from Google I/O
by Tim O'Reilly | @timoreilly | comments: 65"Never underestimate the web," says Google VP of Engineering Vic Gundotra in his keynote at Google I/O this morning. He goes on to tell the story of a meeting he remembers when he was VP of Platform Evangelism at Microsoft five years ago. "We believed that web apps would never rival desktop apps. There was this small company called Keyhole, which made this most fantastic geo-visualization software for Windows. This was the kind of software we always used to prove to ourselves that there were things that could never be done on the web." A few months later, Google acquired Keyhole, and shortly thereafter released Google Maps with satellite view.
"We knew then that the web had won," he said. "What was once thought impossible is now commonplace."
Google doesn't want to repeat that mistake, and as a result, he said, "we're betting big on HTML 5."
Vic pointed out that the rate of browser innovation is accelerating, with new browser releases nearly every other month. The slide below, from early in Vic's talk, shows the progress towards the level of UI functionality found in desktop apps through adoption of HTML 5 features in browsers. This looks like one of Clayton Christensen's classic "disruptive innovation vs sustaining innovation" graphs. It's also fascinating to see how mobile browsers are in the forefront of the innovation.
While the entire HTML 5 standard is years or more from adoption, there are many powerful features available in browsers today. In fact, five key next-generation features are already available in the latest (sometimes experimental) browser builds from Firefox, Opera, Safari, and Google Chrome. (Microsoft has announced that it will support HTML 5, and as Vic noted, "We eagerly await evidence of that.") Here's Vic's HTML 5 scorecard:
- The canvas element provides a straightforward and powerful way to draw arbitrary graphics on a web page using Javascript. Sample applications demoed at the show include a simple drawing area and a simple game. But to see the real power of the Canvas element, take a look at Mozilla's BeSpin. Bespin is an extensible code editor with an interface so rich that it's hard to believe it was written entirely in Javascript and HTML.
- The video element aims to make it as easy to embed video on a web page as it is to embed images today. No plugins, no mismatched codecs. See for example, this simple video editor running in Safari. And check out the page source for this YouTube demo. (As a special bonus, the video is demonstrating the power of O3D, an open source 3D rendering API for the browser.)
- The geolocation APIs make location, whether generated via GPS, cell-tower triangulation or wi-fi databases (what Skyhook calls hybrid positioning) available to any HTML 5-compatible browser-based app. At the conference, Google shows off your current location to any Google map, and announces the availability of Google Latitude for the iPhone. (It will be available shortly after Apple releases OS 3.) What's really impressive about Latitude on the phone is that it's a web app, with all the platform independence that implies, not a platform-dependent phone application.
-
AppCache and Database make it easy to build offline apps. The killer demo is one that Vic first showed at Web 2.0 Expo San Francisco a few months ago: offline gmail on an Android phone. But Vic also shows off a simple "stickies" app running in Safari.
(I love the language that Vic uses: "You can even store the application itself offline and rehydrate it on demand.")
- Web workers is a mechanism for spinning off background threads to do processing that would otherwise slow the browser to a crawl. For a convincing demo, take a look at a web page calculating primes without web workers. As the demo says, "Click 'Go!' to hose your browser." Then check out the version with web workers. Primes start appearing, with no hit to browser performance. Even more impressive is a demo of video motion tracking, using Javascript in the browser.
Michael showed how Palm's WebOS relies on HTML 5. "You as a developer don't need to leave your prior knowledge at the door to develop for the phone." He demonstrates the power of CSS transformations to provide UI effects; he shows how the calendar app is drawn with Canvas, how bookmarks and history are kept in an HTML 5 database. Michael emphasized the importance of standardization, but also suggested that we need new extensions to HTML 5, for example, to support events from the accelerometer in the phone. Palm has had to run out ahead of the standards in this area.
If you're like me, you had no idea there was so much HTML 5 already in play. When I checked in with my editors at O'Reilly, the general consensus was that HTML 5 isn't going to be ready till 2010. Sitepoint, another leading publisher on web technology, recently sent out a poll to their experts and came to the same conclusion. Yet Google, Mozilla, and Palm gave us all a big whack upside the head this morning. As Shakespeare said, "The hot blood leaps over the cold decree." The technology is here even if the standards committees haven't caught up. Developers are taking notice of these new features, and aren't waiting for formal approval. That's as it should be. As Dave Clark described the philosophy of the IETF with regard to internet standardization, "We reject: kings, presidents, and voting. We believe in: rough consensus and running code."
Support by four major browsers adds up to "rough consensus" in my book. We're seeing running code at Google I/O, and I'd imagine the 4000 developers in attendance will soon be producing a lot more. So I think we're off to the races. As Vic said to me in an interview yesterday morning, "The web has not seen this level of transformation, this level of acceleration, in the past ten years."
Vic ends the HTML 5 portion of his keynote with hints of an announcement tomorrow: "Don't be late for the keynote tomorrow morning."
Additional Resources
Here is a convenient list of the HTML 5 demo apps shown in the keynote this morning. Be sure to look at the page source for each of the applications.
New developer features in Firefox 3.5
To learn more about these HTML 5 features, check out these tutorials from the Opera, Mozilla, Palm, and Google teams (plus a few others):
Canvas:
HTML 5 Canvas: The Basics
Painting with HTML 5 Canvas
Video: A Call for Video on the Web
HTML 5 Video Examples
Geolocation: Track User Geolocation with Javascript
Web cache and database:
Palm WebOS HTML 5 DataBase Storage
HTML 5 Features in Latest iPhone Applications
Gmail for Mobile: Using AppCache to Launch Offline
Web workers: Using DOM Workers
tags: google io, html 5
| comments: 65
submit:




