My top 5 JavaScript books
Over the many years of being a web developer, I’ve purchased a countless number of web development books. Out of all them, I value JavaScript books the most. Perhaps it’s because they provide information that is difficult to find online.
A couple of days ago, I realized that I own seven JavaScript books, in addition to seven I’ve previously given away. With this in mind, I thought it might be helpful to make a short list of JavaScript books that are worth buying. There are 5 books on my list, and only one of them is targeted at complete beginners.
I will attempt to list the books in the recommended order of reading, which is based on my experience with learning JavaScript. With that said, aside from the first one, you can easily read them out of order.
Simply JavaScript by Kevin Yank and Cameron Adams

Simply JavaScript is a book published by sitepoint, and it easily matches (or possibly exceeds) the high-quality writing present on their site. Seeing the name of Cameron Adams, or the man in blue on the cover should make it immediately clear that this is a top-notch book.
Simply JavaScript covers all the useful basics of the language and gives concrete, usable examples that can be applied to your site. Having owned several other JavaScript books for beginners, I can safely say that this is the best one. It’s clear and concise, allowing you to learn practical JavaScript quickly.
JavaScript: The Good Parts by Douglas Crockford

At first, I wasn’t sure where to put this book on the list. It is a rather difficult book to get through and it might take weeks to absorb it whole; yet, at the same time, it prevents people with basic JavaScript training from learning the wrong things. The Good Parts goes over the beautiful and usable parts of JavaScript and explains how to use them to create great code. It also covers the ugly parts and explains how to avoid them. Written by Douglas Crockford — who is perhaps the JavaScript expert — this is a must-have book.
While you’re at it, I would also recommend reading his site, which contains a plethora of useful articles — particularly the JavaScript section.
Pro JavaScript Techniques by John Resig

John Resig, the creator of jQuery, is definitely an important figure in the realm of JavaScript development. This book only confirms it. It gives a more in depth look into topics such as Object-Oriented JavaScript, Unobtrusive JavaScript, Ajax, Debugging, and more. One of the things I really appreciated about the book is the way John covers a wide-range of browsers — both in mentioning their bugs and in explaining how to debug JavaScript in them.
While it is called “Pro Techniques”, it is more of an Intermediate level book and could be picked up quite easily by someone who has read Simply JavaScript, mentioned earlier.
Pro JavaScript Design Patters by Ross Harmes and Dustin Diaz

Pro JavaScript Design Patterns is a book written by Ross Harmes and Dustin Diaz. I picked it up for two reasons: 1) at the time it looked like the only (good) book dealing with OO JS and Design Patterns, and 2) I read Dustin’s blog occasionally and was aware that he knew JavaScript. It didn’t disappoint — there’s a wealth of knowledge on various programming patterns, all carefully explained.
It was especially useful to me, seeing as I didn’t have any formal programming education. With that said, it is one of the most advanced books on this list and I seriously recommend grabbing it only once you’ve gained some experience with JavaScript.
Ajax Patterns and Best Practices by Christian Gross

If you’ve read the previously mentioned books or any tutorials on Ajax, you know enough to get started and put together some simple applications or sites. Ajax Patterns and Best Practices will help you take your knowledge to that next level where you can begin working on more complicated sites that might need to eventually scale. It will also ensure that your code stays beautiful and easy to understand.
This is a book that you should only consider buying if you see yourself working with a lot of complicated Ajax functionality. Otherwise, you really won’t need it.
More…
The one book that didn’t quite make the list, even though I’m fond of it, is DOM Scripting by Jeremy Keith. It’s a great book that talks a lot about Unobtrusive JavaScript and manipulating the DOM. The reason it is not included in the list above is because both Simply JavaScript and Pro JavaScript Techniques touch upon the same topics presented in DOM Scripting.
As far as new books go, I’m looking forward to the release of the JavaScript Ninja by John Resig, and I’m planning to buy Object-Oriented JavaScript by Stoyan Stefanov. Both books look like they’re worth checking out.
Do you have any favorite JavaScript books? Please mention them in the comments!
Comments
“Pro JavaScript Design Patterns” is an AWESOME book, an absolute must have.
I was surprised to not see David Flanagan’s “JavaScript the Definitive Guide” on your list, pretty much “the Bible”, IMO.
Another good book is “JavaScript for Web Developers” by Nicholas Zakas, though I favor Flanagan’s book.
#1 • cancelBubble wrote this on February 9, 2009 at 11:32 pm
I agree JavaScript the Definitive Guide is a really good book.
#2 • kunjaan wrote this on February 10, 2009 at 12:11 am
Umm, every javascript developer needs the definitive guide. And what about “PPK on Javascript” another must.
#3 • Jordan West wrote this on February 10, 2009 at 2:17 am
Thanks to everyone for mentioning the “JavaScript the Definitive Guide”. While it’s a great book and I’ve previously owned it, I eventually gave it away, because I didn’t feel like it really gave me enough.
#4 • Anatoli Papirovski wrote this on February 10, 2009 at 7:52 am
Sorry, the comments are closed at this time.