The Art & Science of JavaScript
The Art & Science of JavaScript

Author: Cameron Adams, James Edwards, Christian Heilmann, Ara Pehlivanian, Dan Webb, Simon Willison & Michael Mahemoff
Publisher: Sitepoint, 2008
ISBN: 978-0980285840
Aimed at: Programmers already familiar with JavaScript
Rating: 4
Pros: Presents clever techniques
Cons: Too many authors
Reviewed by: Ian Elliot

JavaScript is a strange language. Because it is dynamic you can take what looks like a very simple, primitive even, language and turn it into whatever you want. The key to this is to invent new idioms, standard boiler plate ways of putting instructions together to do something surprising. You could call any one of these idioms a pattern if you wanted to but they are really closer to the syntax and semantics of the language than the term pattern might suggest. As a result currently JavaScript books fall into two categories – those that teach you the basic use of the language without inventing any new idioms and those that specialise in almost nothing but new idioms.


This book is all about idioms and is full of interesting examples of doing clever things. Don’t both reading it if you are new to JavaScript because you won’t understand what it is trying to achieve. While not explicitly about Ajax all of the techniques are aimed at creating rich interactive web applications and they make heavy use of the DOM and JavaScript’s ability to work with HTML/XML DOM objects. For example we are told how to work with a table, sort columns and so on using JavaScript. For my tastes though the authors don’t go quite far enough as it would have been easy to wrap the entire table construct as a JavaScript object and do away with the HTML in Spartan Ajax style – but it is still mostly excellent stuff.

There are however two problems with this book that you need to be aware of. The first is that you are going to have some compatibility problems with the XHTML, DOM and other supposedly standards-based examples. The second is that overall this book is a mess. The reason is that its written by a collection of authors and hence isn’t a single person’s unified view. This is a shame because it makes many of the excellent ideas difficult to place into a framework that we could call “advanced JavaScript”. A highly recommended book as long as you want to read some very clever JavaScript and can put up with a motley collection of topics trying to hang together as a coherent book.



The Theoretical Minimum

Author: Leonard Susskind & George Hrabovsky
Publisher: Basic Books/Allen Lane
Pages: 256
ISBN: 978-0465028115 
Print: 0465075681
Kindle: B00B05XGSW    

Audience: Readers with solid background in Physics and Math
Rating: 5
Reviewer: Mike James


Want to really unders [ ... ]

Core Java Volume I - Fundamentals (10e)

Author: Cay S. Horstmann
Publisher: Prentice Hall
ISBN: 978-0134177304
Print: 0134177304
Kindle: B019PFBM0M
Audience: All Java programmers
Rating: 4.5
Reviewer: Alex Armstrong


This tenth edition is a revised and updated incarnation of classic - but this is no re [ ... ]

More Reviews

Last Updated ( Thursday, 05 January 2012 )

RSS feed of book reviews only
I Programmer Book Reviews
RSS feed of all content
I Programmer Book Reviews
Copyright © 2016 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.