Sunday, October 24, 2010

Book Review: Dive Into HTML5

Dive Into HTML5 is a free e-book by Google's Mark Pilgrim. I read it before the HTML5 book I recently reviewed, and found Pilgrim's to be much better.


Pilgrim has a lengthier book,HTML5: Up and Running, in dead-tree format that is available on Amazon. I haven't yet checked that one out.

I found Dive Into HTML5 to be useful for a few reasons. It's relatively brief. It deals practically with the issues of building scalable code for a range of browsers/platforms with variable HTML5 support (i.e. rather than providing a switch statement for IE/Chrome/Firefox like some folk do, he deals different methods for testing for feature support in a way that will scale across browsers).

Finally, Pilgrim gives enough background to understand some of the 'why' on certain eccentricities as well as the 'how' on how to use them. For example, there are some details on local storage that include background on loose guidelines provided by the spec, as well as how much storage is made available and cases in which you may find it unavailable.

If you are looking for a quick read to get up to speed, it's a great place to start. (One downside is that it would have been nice if he'd made an offline version available as a e-book or PDF.

No comments: