You are currently offline, so some features of this site may not work fully.

Your browser doesn’t support some of the latest CSS features used to build this site.

Read more about my usage of new CSS features.

I was given a copy of Learning from jQuery by Callum Macrae to review for the O’Reilly Reader Review Program.

Coincidence?

On the day I chose my next book for the O’Reilly bloggers program, funnily enough I’d decided to make the move and rewrite my code using jQuery to JavaScript on one of my projects and had actually asked around for some tips on writing an AJAX wrapper amongst a couple of other things.

So it followed that when I saw Learning from jQuery it jumped out at me as being completely relevant to what I wanted! Coincidence? Maybe.

Learning all the things!

I just straight into this book, reinforcing my knowledge of event listeners, constructors/prototypes and learning more about DOM traversal in the first part of this book.

I thought at this point that the book is well written for the novice to JavaScript and that I personally underestimated what I may be able to gain from these first few chapters.

Callum writes in a style that appeals to someone wanting to learn more about JavaScript using their knowledge of jQuery, perhaps limited by hacking away at the library and plugins written for it, as I (and you, probably) did once upon a time.

Getting into it

I’m glad I ploughed on, getting to the chapter on AJAX - what I initially became interested in the book for!

This part of the book explained in enough detail for me to do exactly what I wanted, and the code examples helped greatly - not just in this chapter but throughout the book, I have to add.

As I’ve been reading a lot of JavaScript development books recently I was able to skim over the last chapter on JavaScript conventions but I think for a beginner this section would be very useful, along with the appendix on JavaScript basics.

Finally…

I’d recommend this book for someone like myself wanting to write native JavaScript more instead of relying on the jQuery library for tasks that now seem trivial.

If you’re an experienced JS developer though, I think this book is worth glossing over for a refresh of the JavaScript methodologies and conventions provided.

Callum Macrae writes in an experienced manner and with his extensive use of code examples (and also by hosting them on Github) he teaches the reader in a clear, thorough way.


TL;DR

A good short, concisely written book for a novice JavaScript developer to help with rewriting your code, reducing your reliance on jQuery and learning a bit more about native JavaScript methods.

I’d have liked to have seen this book expanded a little more and I hope Callum Macrae writes more in the future on this topic!

Buy your copy from O'Reilly.