The JavaScript Anthology (Book review)

When two persons who are well known for their Web standards and JavaScript skills write a book together, expectations are high. And when James "Brothercake" Edwards and Cameron "The Man in Blue" Adams get together and write The JavaScript Anthology, those high expectations are met.

The subtitle "101 Essential Tips, Tricks & Hacks" may make you slightly suspicious of this book. Don't worry though - this is not a "101 Greatest l33t JavaScript Hacks evah!"-book, but a very thorough guide to writing modern and responsible JavaScript.

In this book, James Edwards and Cameron Adams share loads and loads of extremely useful code examples, all very well explained. You'll learn how to work with numbers, strings, arrays, cookies, dates, images, and much more. The authors also cover more advanced topics like how to use JavaScript with Flash, how to build web applications with JavaScript, and object oriented programming.

Reading the book made me realise that there are many ways of improving my own scripts, and I believe that I now have a much better understanding of some of the more advanced areas of JavaScript.

The JavaScript Anthology teaches scripting the right way. All scripts are unobtrusive, cross-platform, and will degrade gracefully. An entire (and long) chapter is devoted to JavaScript and accessibility.

It is of course inevitable for a book that contains advanced JavaScript techniques to also describe client-induced bling bling techniques such as drag-and-drop, scrolling news tickers, and fly-out menus. The good thing is that accessibility and usability are always discussed, and the reader is warned of any potential problems in those areas. In the end, it is up to you to use what you learn from this book in a responsible way.

Seriously, this book is a must-have. If you're not a JavaScript enthusiast now, you will be by the time you finish reading The JavaScript Anthology.

As with all SitePoint books, there are sample chapters you can download to find out if the book is right for you.

The JavaScript Anthology : 101 Essential Tips, Tricks & Hacks
Authors: Cameron Adams and James Edwards
ISBN: 0975240269

Posted on August 4, 2006 in Reviews