Author: Shelley Powers
Publisher: O'Reilly, 2015
Reviewed by: Ian Elliot
A cookbook for the more advanced programmer? Is this a good idea?
Cookbooks are always difficult to review because how you react to them depends on whether the topics you are interested in overlap with the recipes presented. Then there is the small matter of the level. Generally cookbooks aim low and largely of use to beginners needing to put boilerplate code together to get something that works. In this case however the cookbook seems to be aimed higher. It covers a very wide range of topics but they all seem to be challenging rather than introductory. This certainly isn't a cookbook for the complete beginner.
Chapter 13's title, "Fun with APIs", is a bit of mystery . Why fun and why the particular APIs selected: Rest, webworkers, Google Maps, Twitter and the File API.
Chapter 14 is about Frameworks and it is a slightly odd take on the topic. We start with Express, later encounter OAuth and end with web components. Chapter 15 takes up the Ajax communications topic but at a slightly more advanced level. Chapter 16 is about data visualization using D3 and some interesting things with websockets, PhantomJS, Ocrad.js and cropping images. Chapter 17 deals with data and persistence. After a quick look at traditional forms and validation we have MySQL and IndexDB.
This is a very different cookbook from the average and if you have the first edition this second one is quite a different book. Many of the old recipes are included but there are many new topics. The explanations are often on the too-brief side, but if you like code there is plenty of it to illustrate how things work.
This book isn't perfect but it is very useful - recommended.