jQuery Enlightenment By Cody Lindley

Posted September 18, 2009 at 8:50 AM

Tags: Javascript / DHTML, Books

As an attendee of the jQuery Conference 2009, I received a free PDF version of Cody Lindley's new book, jQuery Enlightenment. The jQuery conference was tremendously inspiring, so needless to say, I returned from it ready to devour some tasty jQuery goodness. And, devour it I did; I got through jQuery Enlightenment in three nights, no problem. Of course, this was not just a factor of my newly fueled enthusiasm - jQuery Enlightenment happens to be a very nice read; I found it to be the perfect balance of explanation and code sample. If jQuery's message is "Write Less, Do More," then this book's message would be "Read Less, Learn More."


 
 
 

 
jQuery Elightenment By Cody Lindley.  
 
 
 

At 123 pages, jQuery Enlightenment is certainly concise, but manages to cover the full API of the jQuery library. It does this by concentrating on an explanation-by-code technique, relying on prose only to expand upon anything that was not easily gleaned from the Javascript samples. A style like this could have easily been disastrous; but, Cody's jQuery code was so clear and well commented that with just a few lines, he was able to, in the most simple way, fully demonstrate the feature in question. While I was occassionally left with the question of "Why," as in "Where and why might I use this feature?", I was certainly never left wondering "How" a particular feature worked.

This book would be fantastic for anyone who is relatively new to jQuery and wants to learn it, in depth, in the most efficient way. But, that is not to say that this book is basic; as someone with a good deal of jQuery experience, I found myself dog-earing every few pages, seeing things that I had either never seen before or things that I wanted to look into more deeply. I think that because jQuery Enlightenment is so easy to read, it feels like a deceptively low-level book. But, when you take a step back and think about what it's covered, you realize that it gets quite advanced, covering custom pseudo-selector development, plugin development, event delegation, closures, callbacks, and everything else you need to cultivate a rock-solid understanding of how jQuery works. As such, I think that there is information here that would benefit even the more advanced jQuery programmers.

What this book is not is a book about jQuery application architecture; while you will walk away from this book with a fantastic grasp of what jQuery can do, you might walk away with questions about how to most effectively pull it all together. That's not to say that you won't be able to build jQuery applications; the rich internet applications (RIA) that I build currently operate at the levels covered in this book. But, if you're looking for a book that discusses things like Javascript MVC (Model-View-Controller) or single-page application development, you should look elsewhere.

Overall, Cody Lindley's jQuery Enlightenment book is quite impressive. I found his writing style and code samples to be very clear and easy to understand. And, one thing that I thought was brilliant was that every single one of his code samples is available online at JSBin.com, hot-linked directly from the PDF. In general, the book was just very well executed; and at just $15 for the PDF version, it's a great deal.


 
 
 

 
Cody Lindley And Ben Nadel At jQuery Conference 2009 In Cambridge, MA.  
 
 
 

Cody Lindley and myself at jQuery Conference 2009 in Cambridge, MA.

Post Comment  |  Ask Ben  |  Permalink  |  Other Searches  |  Print Page




Learning ColdFusion 9 - ColdFusion 9 tutorials, samples, examples, demos

Reader Comments

Sep 18, 2009 at 9:49 AM // reply »
177 Comments

Regarding "jQuery application architecture" - I think Jason Dean / Andy Matthews need to get off their asses and write up something on this. When we were doing the AIR stuff, that's the one thing I noticed / learned.


Sep 18, 2009 at 9:53 AM // reply »
6,516 Comments

@Todd,

Ha ha, word up!


Sep 18, 2009 at 10:14 AM // reply »
4 Comments

>> If jQuery's message is "Write Less, Do More," then this book's message would be "Read Less, Learn More."

Thats a nice comment; as a tech reviewer, I
appreciate, and I'm sure Cody does, too. Thanks for the great review.


Sep 18, 2009 at 10:24 AM // reply »
6,516 Comments

@Jörn,

My pleasure. Great to meet you at the conference. I told Glen that you used his Marketo form and he told me how you guys knew each other.


Sep 18, 2009 at 11:09 AM // reply »
4 Comments

Oh, right. I didn't catch your name then. Was nice meeting you there!


Sep 18, 2009 at 11:14 AM // reply »
3 Comments

Question: you said that "as an attendee of the jQuery Conference 2009, I received a free PDF version" of the book. Were all attendees supposed to get a copy? I was at the conference and didn't see anything about it.


Sep 18, 2009 at 11:16 AM // reply »
6,516 Comments

@Graham,

In your attendee packet, you should have gotten a business-card-looking paper with a discount code on it. As far as I know, everyone got one.


Sep 18, 2009 at 11:20 AM // reply »
3 Comments

@Ben -- Hmm, I'll have to look again but I don't remember seeing one.


Sep 18, 2009 at 11:27 AM // reply »
5 Comments

@Ben,

Was that the card from Manning that offered a free version of jQuery in Action or Javascript Ninja?

I also don't remember seeing Cody's book offered as a free download.

Michael


Sep 18, 2009 at 11:55 AM // reply »
6,516 Comments

@Michael,

That was the other one - we got two cards. One for jQuery Enlightenment and one for Manning books (I think).


Sep 18, 2009 at 12:33 PM // reply »
5 Comments

I will have to look at my stuff because I don't remember seeing that one either.

I hope your ride back to NYC was uneventful.


Sep 18, 2009 at 12:35 PM // reply »
6,516 Comments

@Michael,

Yeah, it was mostly uneventful. Got home, grabbed a few hours of sleep, and then right back to work :)


Sep 18, 2009 at 12:48 PM // reply »
5 Comments

@Ben,

I actually went to work a couple hours late on Monday but came in feeling all refreshed and jQuerified.


Sep 18, 2009 at 12:51 PM // reply »
6,516 Comments

@Michael,

Ha ha, jQuerified most definitely!


Sep 18, 2009 at 2:35 PM // reply »
3 Comments

For everyone confused about the discount code, I emailed the organizers and asked.

"There were 30 passes given out at random during checkin. Not everyone got one. There were also other books given away at check in to the first so many people who checked in."


Sep 18, 2009 at 2:44 PM // reply »
6,516 Comments

@Graham,

Ah, OK, that makes sense. I did some other people get hard-copy books that I did not get.


Sep 25, 2009 at 9:55 AM // reply »
2 Comments

When you say: "if you're looking for a book that discusses things like Javascript MVC (Model-View-Controller) or single-page application development, you should look elsewhere"

Where? Where? Where? lol! Does such a book even exist?


Sep 25, 2009 at 12:43 PM // reply »
6,516 Comments

@Jamal,

I share your curiosity. I am trying to get through some jQuery books and none that I have looked at really address this yet. My next book to read is jQuery In Action. Perhaps that will shed some light.

In the mean time, I'm trying to fool around with some ideas (very rough) that I will present on soon.


Sep 26, 2009 at 6:30 PM // reply »
2 Comments

Well, I've read most of it (JQuery in Action) and it does not. The closest I could find to match my need were old books (but good books) that gave insight into single page application development, these are Ajax in Action and Professional Ajax (chapter 5 is a gem). I am currently trying the finite state machine approach to clean my event oriented design, I recommend:

http://www.ibm.com/developerworks/web/library/wa-finitemach2/index.html

http://www.ibm.com/developerworks/web/library/wa-finitemach2/index.html

http://www.ibm.com/developerworks/web/library/wa-finitemach3/index.html

To get inspired and to study this (even if it uses Ext.JS):

http://max-bazhenov.com/dev/upload-dialog-2.0/index.php

Hope this helps.


Sep 29, 2009 at 5:43 AM // reply »
1 Comments

As I found, jQuery Enlightenment was written to express the concepts essential to intermediate and advanced jQuery development. I am trying to get jquery Enlightenment book having good quality semi-gloss and good the color look. Once i will read it then surely post feedback on this blog.


Sep 29, 2009 at 8:01 AM // reply »
6,516 Comments

@Jamal,

Thanks, I'll have to check that out. I'm working right now on a jQuery + ColdFusion application demo / presentation in which I am really trying to use some sort of MVC on the client side. Mostly just trial and error at this point.


Nov 11, 2009 at 9:53 AM // reply »
2 Comments

Read Less, Learn More - I love to do this. if someone is there to explain things, its great right?


Post Comment  |  Ask Ben

Recent Blog Comments
Nov 22, 2009 at 1:56 AM
Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks
Why adobe would give you script equivalent of cfquery is beyond me. I love cfquery tag because it helps me wriite clean sql, and get away from the horrible jdbc queries If I wanted to write javali ... read »
Nov 22, 2009 at 1:45 AM
Streaming Text Using ColdFusion's CFContent Tag And The Variable Attribute
The reason you would want to do this is to stream. Ack json/xml files to ria clients I used thus technique before because putting json in response stream causes debugging info to come thru As well a ... read »
Nov 21, 2009 at 6:47 PM
Hal Helms - Real World Object Oriented Development, Sarasota - Day Five
@charlie griefer, Thank you.. ... read »
Nov 21, 2009 at 5:15 PM
Using ColdFusion Structures To Remove Duplicate List Values
@Jose Galdamez, Oh heh yeah I didn't paste the whole code. I should have defined the vars -- my bad. It's fixed thou. Thanks. ... read »
Nov 21, 2009 at 4:49 PM
Styling The ColdFusion 8 WriteToBrowser CFImage Output
Great work yet again Ben! Whilst I didn't use this whole code, I copied some of your regex code for a similar problem with the lack of an alt attribute and unescaped ampersands in CFIMAGE for Railo 3 ... read »
Nov 21, 2009 at 1:13 PM
My First ColdFusion Builder Extension - Encrypting And Decrypting CFM / CFC Files
@Ben, Because I am pedantic, I just want to make sure that everyone knows there is absolutely no encryption going on. There is only encoding and obfuscation. The cfencode tool only obfuscates your C ... read »
Nov 21, 2009 at 12:28 PM
Using ColdFusion Structures To Remove Duplicate List Values
@Jody I can't seem to get your code sample to work. If you are still having problems, try this code out and see if it gets you what you wanted. <!--- Comma delimited list with various duplicates ... read »
Nov 21, 2009 at 11:03 AM
Groovy Operator Overloading Does Not Work In The ColdFusion Context
Hi Ben, Thanks for this informative post. Now I am reading ur old posts too ... read »