HTML5 Cookbook

Author: Christopher Schmitt & Kyle Simpson
Publisher: O'Reilly
Pages: 282
ISBN: 978-1449396794
Aimed at: JavaScript programmers new to HTML5
Rating: 3
Pros: Introduction to HTML5 for the programmer
Cons: Recipes too simple, lacks explanation
Reviewed by: Ian Elliot

A cookbook on HTML5 sounds like a good idea. So what recipes could there possibly be for tasty HTML5?

Author: Christopher Schmitt & Kyle Simpson
Publisher: O'Reilly
Pages: 282
ISBN: 978-1449396794
Aimed at: JavaScript programmers new to HTML5
Rating: 3
Pros: Introduction to HTML5 for the programmer
Cons: Recipes too simple, lacks explanation
Reviewed by: Ian Elliot

 

A cookbook on HTML5 sounds like a good idea, but you have to remember that HTML5 is a very simple technology - after all it's a semantic markup language with a few APIs added. So what recipes could there possibly be for tasty HTML5?

If this is a cookbook full of recipes for HTML5, then the majority of them are at the level of how to heat water and boil an egg. Mind you, I've known many a novice cook who didn't know where to get water from, let alone how to boil it.

Banner

 

The first recipe, Specifying DOCTYPE, should give you some idea of what I mean. As HTML5 has simplified this to the point of almost non-existence there isn't to much to say. From here we move on to specifying character sets, language, and eventually to using the new semantic tags. Chapter 1 isn't so much a cookbook, more a sort of introduction to basic HTML5 broken down into a question and answer format.

Chapter 2 continues the tutorial as cookbook style with a discussion of dealing with browsers that might not support it. From here it continues in the same fairly standard course, with one chapter on each of, forms, audio and video, microdata, accessibility, geolocation and the canvas tag. Chapter 10 is the most advanced and deals with the new APIs - local storage, caching, web workers, web sockets, history and local files. In most cases the questions are very basic - how to draw on the Canvas, how to get geolocation data, using date and time fields. These are all the sorts of things that you would discover how to do by reading almost any introduction to HTML5.

The big problem is that this is just an introductory tutorial on HTML5 broken down into contrived problems and then explained. If you like this way of explaining a technology then you will like this book. What it doesn't do is to provide any sort of recipe that goes beyond what is blindingly obvious if you understand the basics. Putting it in a cookbook format simply allows the authors the freedom not to provide a fully logical order and to not cover everything. A tutorial introduction comes with a promises to start at A and end at Z covering most things in between. This book simply picks interesting topics and forgets the rest.

Mostly the examples are small and reasonably well explained but there is a tendency, that gets worse as the book goes on to present large chunks of code spread over a couple of pages with little explanation.

If you are beginner, and like to have topics broken down in a problem and solution format, then this book might be what you are looking for. However, you do need to make sure that your JavaScript is up to scratch because this is taken for granted. If you are an intermediate or better JavaScript programmer it is difficult to imagine that you will find any of the recipes useful.

Banner


SQL Server 2022 Administration Inside Out

Author: Randolph West et al
Publisher: Microsoft Press
Pages: 992
Print: 0137899882
ISBN: 978-0137899883
Kindle: B0C4VKVP27
Audience: DBAs and developers
Rating: 5.0
Reviewer: Ian Stirk

This book aims to update your DBA skills to cover SQL Server 2022, how does it fare?



Killer ChatGPT Prompts (Wiley)

Author: Guy Hart-Davis
Publisher: Wiley
Pages: 240
ISBN: 978-1394225255
Print: 1394225253
ASIN: B0CF3WFTWM
Audience: Everyone
Rating: 5
Reviewer: Ian Stirk

This book aims to get optimal answers to your questions from ChatGPT, how does it fare? 


More Reviews

Last Updated ( Thursday, 08 December 2011 )