HTML5: The Missing Manual

Author: Matthew MacDonald
Publisher: O'Reilly, 2010
Pages: 448
ISBN: 978-1449302399
Aimed at: JavaScript programmers
Rating: 5
Pros: An easy, yet authoritative, read
Cons: Weak on CSS3
Reviewed by: Ian Elliot

 

HTML5 - there's no way to avoid it and no going back. Does this book help you embrace it?

 

HTML5 probably doesn't deserve all the fuss it is receiving - most of the glory should go to CSS and JavaScript. But there is still a need to find out about it and there is a lot misinformation to hamper your attempts. There is also the big problem of browser compatibility. This particular book aims to make it all much clearer and in the main it succeeds.

 

Banner

 

Part One "Meet the New Languages" goes over the history of HTML through XHTML and the problems that eventually resulted in HTML5. It explains the design philosophy and then takes you for a brief walk through creating a very simple HTML5 page. This is small scale stuff that has little overall impact on what you do, but it is still nice to see it at this early stage.

From here we move on to the central innovation of HTML5 - semantic markup. Chapters 2 and 3 explains how to use these "meaningful" tags to mark up a page. This is fairly straightforward and goes over ARIA, RDFs, Microformats and Microdata.

Part Two is about creating modern web pages. What this means is using the new functional tags in HTML5. Chapter 4 is on forms including validation, default values and so on. Chapter 5 is on audio and video and covers the complexities of what is and what is not supported and how to get round these difficulties. Next we have two chapters on the star of HTML5 - the Canvas element. This covers not only basic Canvas use, but also more advanced general topics such as animation and hit testing. You need to have a good understanding of JavaScript to get much from these chapters.

Chapter 8 is a lightening look as CSS3. This is probably the weakest chapter in the book as it simply doesn't do CSS3 justice - but then the book is on HTML5. Another book by this author on CSS3 would be a good idea, but my guess is that it wouldn't sell as well as something with HTML5 in the title.

Part Three has the mysterious title "Building Web Apps with Desktop Smarts". What this is all about, is the various APIs introduced along with HTML5 to extend the way that you can use JavaScript to write web apps that behave more like desktop apps. Chapter 9 is on data storage and it covers web storage. Chapter 10 is on offline applications. Chapter 11 is on messaging and web sockets. Chapter 12 wraps it all up with geolocation and web workers. All are much more advanced than the earlier chapters and you need to be able to program in JavaScript to get much from them.

The final section of the book consists of two appendices, an introduction to CSS and one to JavaScript. Neither are sufficient to get up to the standard that the book expects but they might act as refeshers.

Over all the style of the book is excellent. You feel as if you are reading a chat with a knowledgeable friend who isn't afraid to occasionally say something that is definitive and perhaps even controversial. A constant topic throughout the book is the matter of how and when to adopt HTML5 features and occasionally the author says, "Don't do it - yet".

This isn't a very deep book, simply because the technology it deals with isn't that complicated, but it doesn't fall into the trap of making it seem more complicated just to justify the existence of a book!

If I had to pick a single HTML5 book to read, this would be it. It is an easy read and it gives you a clear idea of what is and is not in the current HTML5 specification. Recommended.


Banner


Driving Value With Sprint Goals

Author: Maarten Dalmijn
Publisher: Addison-Wesley
Pages: 256
ISBN: 9780137381920
Print: 0137381921
Kindle:B0C7ZJR7N2
Audience: Scrum developers
Rating: 5
Reviewer: Kay Ewbank

Over the years I've read a lot of books about agile development and Scrum, and most concentrate on the methodology rather tha [ ... ]



WordPress Plugin Development, 2nd Ed

Author: Brad Williams, Justin Tadlock, John James Jacoby
Publisher: Wrox
Pages: 480
ISBN: 978-1119666943
Print: 1119666945
Kindle: B0899MW9CP
Audience: WordPress developers
Rating: 4.5
Reviewer: Kay Ewbank

The authors of this book are well-known in the WordPress world, with more than 100 published plug [ ... ]


More Reviews

Last Updated ( Friday, 16 September 2011 )