The Art & Science of JavaScript
Cameron Adams, James Edwards, Christian Heilmann, Ara Pehlivanian, Dan Webb
Sitepoint (14 Jan 2008)
ISBN 0980285844
300 pages
Buy from Amazon
About: The Art & Science of JavaScript 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 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. A a result, JavaScript books currently 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. This book is all about idioms and is full of interesting examples of doing clever things. Don't bother 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 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 which 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 standard-based examples. The second is overall this book is a mess. The reason is that it's 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" However, 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 coherent book.
Related Materials
The Art and Science of CSS by Jonathan Snook. Pro JavaScript Techniques (Pro) by John Resig. Simply JavaScript by Kevin Yank Cameron Adams. The Principles of Beautiful Web Design by Jason Beaird. Pro JavaScript Design Patterns (Recipes: a Problem-Solution Ap) by D & Harmes, R Diaz.Resources
Biography
Tsoteho Valashiya:Tsote is an avid reader and writer. She has read hundreds of both technical and non technical materials over the years, but recently decided to document all her work or write about what she's read so far when ever she can. In as much as she likes computers, she prefers to stick to her principles: never to use it more than a few hours a day; or in some cases, minutes. [read more...] You may contact her at tsote.valashiya@googlemail.com
Latest Offers
Deal of the Day: 60% Off "Taxi: The Complete Series" and "Happy Days: Seasons 1-4"
Stainless Steel Jewelry: Up to 60% Off
Silver with Cubic Zirconia Jewelry: Up to 60% Off
Save Big on DVD, Blu-ray, and Video On Demand
ThinkFun Games, Buy 2 or More and Save an Additional 25%-Off
MP3 Free Song of the Day: The Thermals
Contact
If you would like to review a book, have your book reviewed or comment on any of the reviews on this site, please feel free to get in touch with us. We are always on the look out for materials and resources that we believe developers all over will benefit from. back upContact us here: Contact page
http://www.onyxtic.com/dev/feed.rss




