Author: John Resig & Bear Bibeault
The first part of the book sort of works its way around the main topics without actually coming to grips with them. We consider libraries, cross browser issues, testing and something about qUnit.
Part 2 is where the book really gets started on its main core material. It considers functions simple and sophisticated. From basic functions it moves on to anonymous functions, recursion, functions as objects, variable length argument lists and so on. Next we look at closures, not just the basic idea but what they can be used for. Finally we reach the idea of the constructor and the complicated topic of the prototype.
Part 4, "Master Training", covers events, the DOM and CSS selector engines. It isn't really clear why this is a separate section as the topics seem on a par with those included in Part 3.
The approach taken throughout the book is a mixture of easy to follow explanation and less easy to follow examples. The examples generally show you something and then asks you what you expect to happen. Then it tells you the actual outcome and tries to make the general behaviour clear. This worked better when the general behavior was described in before the example. That is it is generally better to describe the principle and then present an example that illustrates it rather than the other way round.
Don't worry about my few minor niggles, I'm nitpicking, buy a copy.
|Last Updated ( Tuesday, 19 February 2013 )|