jQuery In Action By Bear Bibeault And Yehuda Katz

Posted October 14, 2009 at 2:42 PM by Ben Nadel

Tags: Javascript / DHTML, Books

The other night, I finished jQuery In Action by Bear Bibeault and Yehuda Katz. It was a good book, but the distribution of it kind of confused me. I redeemed it electronically from Manning (as an attendee of the jQuery Conference 2009) and then a few days later Manning emails me and tells me that the Second Edition is now available for download. Seeing as I hadn't started it yet, I went and grabbed the new edition and began to read; but then, I get to page 205 and suddenly the book stops - short four chapters. The Second Edition is supposed to have 10 chapters, but mine had six. And, to make matters more confusing, the original version only has nine chapters. I think, by the end, I read the entire book, but it took a few minutes of head scratching to figure out what was going on.

I don't know what happened with the distribution (I'm sure it was explained in the email that I didn't read), but don't let that reflect on the quality of the text; I mention it here only for the sake of anyone else who goes to get the book electronically: make sure you have all the chapters in your PDF!


 
 
 

 
jQuery In Action Book Cover.  
 
 
 

jQuery In Action does a solid job of fully explaining the feature set of the jQuery library. In fact, I often found the documentation of the jQuery methods to be more completely fleshed out in the book than they are on the official site. This is especially true for methods that can take callbacks. I find the online documentation regarding callbacks to be, at times, patchy; but, in the book, jQuery In Action, Bibeault and Katz do a nice job documenting what gets passed to the given callbacks and how return values from those callbacks will be handled.

And, while I was a bit confused about the Second Edition, I have to say that it was awesome to see that the Second Edition contained the latest information about what's available in the jQuery library (as of v1.3).

One area of the book that I found particularly thorough was the exploration of jQuery animations. Not only does it discuss the basics - slideDown(), slideUp(), fadeIn(), fadeOut(), etc. - it really goes into a lot of detail regarding custom animations and the whole queuing mechanism that executes animations in a serial nature. And, something that I found interesting, was that the book explained how the execution queue could be leveraged to queue any piece of functionality - animation or otherwise.

One chapter that seemed a bit out of place to me was that on "Prominent, Powerful, and Practical Plugins." There was something about it that just felt a little bit like an afterthought. It only discussed three plugins; and, ironically, while I've used many jQuery plugins, I've never used any the three discussed in the book.

Overall, jQuery In Action is a solid book and really does explain the features of jQuery quite thoroughly.




Reader Comments

Oct 14, 2009 at 3:26 PM // reply »
14 Comments

it's a good book, at least the edition i have, don't know about the new one, but i learned most of my stuff from this book. Now this is the book we at work to give the devs an intro into jquery


Oct 14, 2009 at 3:35 PM // reply »
11,246 Comments

@Rafael,

After I finished the second edition and then read the latter 3 chapters in the original edition, I skimmed through the first 6 chapters of the original edition and it looks like Yehuda and Bibeault really freshened it up a good bit. If you like the book, I'd recommend checking out the newest edition.


Oct 14, 2009 at 3:47 PM // reply »
31 Comments

Ah another reason why I shouldn't let cool books just sit on my dev shelf!

I have the first edition but never finished it - even though it's a fantastic book.

Is it worth going back to it or should I just junk it and get the second edition do you think?


Oct 14, 2009 at 3:50 PM // reply »
11,246 Comments

@James,

I can't really say since I didn't actually read the old chapters (1-6) in the first edition; as such, I don't really have anything to compare it to. But, from what I saw (after some very quick skimming), it seemed like the newer chapters (1-6) were definitely freshened up to 1.3 of the library. If it's worth the money to upgrade??? I can't say.


Oct 14, 2009 at 3:54 PM // reply »
31 Comments

@Ben,

I know what you mean. Always difficult with books, but with something as ever evolving as JQuery it may be prudent to get the updated version to avoid learning old techniques or syntax. I know they changed a few fundamental things in 1.3 and improved a lot.

The price of staying up-to-date in this game..


Oct 14, 2009 at 3:56 PM // reply »
11,246 Comments

@James,

Also, another thing to consider is that the jQuery team is gonna release the next sub-release of jQuery by the end of the year (at least I think that's what they are aiming for). As such, perhaps wait another few months to see if anything else comes out in terms of updates?


Oct 14, 2009 at 4:00 PM // reply »
4 Comments

Sounds like you got the kind courtesy go getting access to a preview copy of the 2nd edition from the Manning early access program. The 2nd edition of the book isn't scheduled to be printed until March 2010.

http://manning.com/bibeault2/

As new chapters become available, you'll probably get access to those to.

*rant alert* Manning's Early Access Program seems to be quiet good. On their home page, they tell you how many chapters (of the projected total) have been completed. I had a horrible experience with O'Reilly's early access program. We paid to get access to Programming Flex several months before it was to be published. All that was ever released as part of the early access program was 4 chapters. By the time the book was published, a majority of the content was then irrelevant to me.


Oct 14, 2009 at 4:15 PM // reply »
11,246 Comments

@Dutch,

Ahh, ok, that makes sense. I am new the world of digital books and was not even aware that they had programs like that. That's really cool that you can ever get access to pre-released chapters. I hope I didn't break any NDA's talking about it :)

Thanks for pointing that out. It definitely clarifies the confusing I was having.


Oct 14, 2009 at 5:21 PM // reply »
4 Comments

@Ben,

I doubt you broke any form of NDA. Anyone can pay for MEAP access. In the end, you get a final copy and potentially printed a version if you paid for that option.

The program has two main goals:

1) get access to interested readers who can't, or otherwise don't want to, wait several months before the book is published

2) Welcome feedback, suggestions, and errata corrections long before the book goes to the printing press

Considering how knowledge changes at such a fast pace in our industry and the shelf life for books, it's a very smart program.

BTW, jQuery in Action is an excellent book and should be the starting point for anybody interested in learning jQuery.


Oct 14, 2009 at 6:48 PM // reply »
4 Comments

FYI. If you get eBook of jQuery in Action 2 on Manning's Early Access Program, you can get the full version of the previous edition (eBook) too.


Oct 15, 2009 at 8:06 AM // reply »
11,246 Comments

@Terry,

Oh cool. I came from the 1st edition, but it's good to know that it goes both ways.

@Dutch,

Yeah, it's a quality book.


Oct 24, 2009 at 4:39 PM // reply »
149 Comments

Hey Ben, just noticed you've had multiple posts on multiple jQuery books, and they all looked like pretty positive reviews. If you had to pick one book over all the others to recommend to someone who's used jQuery a bit and has intermediate-to-advanced Javascript skiyells, which one would you pick ( and why )?

I do mostly CF and pure AJAX front-end full time and we've standardized on jQuery. That said, I'm way more interested in Actionscript and CF integration, so I'm trying to invest as little time as possible in jQuery while still becoming super advanced at it. If that helps the question. Thanks!


Oct 27, 2009 at 11:28 AM // reply »
5 Comments

Hi Ben,

Thanks for posting about the book, and glad you enjoyed. Sorry about the confusion with the MEAP program - we'll be releasing the remaining chapters really soon!


Oct 27, 2009 at 11:36 AM // reply »
11,246 Comments

@Yehuda,

No problem. Definitely looking forward to the new chapters.


Oct 31, 2009 at 3:24 PM // reply »
11,246 Comments

@David,

That's a very good question. They are all good books, but for someone who already has decent jQuery skills, which one would benefit you the most?

It's been a while since I read Learning jQuery, but from what I remember, they had a whole bunch of "Real world" type examples, which I think not only help with the technical, but help people to start thinking in how jQuery can be applied in your day to day lives.

Really though, none of the books that I read really went deep in to JS-heavy application architecture, which is where I tried to do some experimentation in my jQuery presentation:

http://www.bennadel.com/blog/1730-Building-Single-Page-Applications-Using-jQuery-And-ColdFusion-With-Ben-Nadel-Video-Presentation-.htm

I'm sorry I cannot be more decisive - it is a tough question to answer.



Post A Comment

Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.

Please review the following issues:

Author Name:


Author Email:

Author Website:

Comment:

Supported HTML tags for formatting: <strong>bold</strong>   <em>italic</em>   <code>code</code>







  • Help Wanted - Find Your Next ColdFusion Job
Ben Nadel's Company - Epicenter Consulting Recent Blog Comments
May 23, 2013 at 9:52 PM
Preventing Links In Standalone iPhone Applications From Opening In Mobile Safari
@Muhmmadibn Did you figure out a solution to launching PDFs? I am running into the same issues myself. There is no way to close the PDF or go back once you launch it. Thanks in advance! ... read »
May 23, 2013 at 6:06 PM
The Girl Who Broke My Heart, And Made Me A Better Person
Good day,ladies and gentle men, my name is Dr AMADI the great spell caster in Africa, i have help so many people for different kind of problems,who say there is no solution to problems on earth, that ... read »
May 23, 2013 at 4:26 PM
ColdFusion QueryAppend( qOne, qTwo )
@Heather, Glad people are still getting value out of this! ... read »
May 23, 2013 at 3:49 PM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@WebManWalking, I meant the code at the bottom (not the video). I did try to experiment with an intermediary variable, like: value = users.id[ i ]; arrayContains( userIDs, value ); ... but t ... read »
May 23, 2013 at 11:06 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Ben, Are you talking about As Number: YES As String: YES As Java: YES? If so, that's with 3 different ways of referencing the constant 1, not users.id[1]. Query object references(*) are what seem ... read »
May 23, 2013 at 9:55 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Dan, According to the CF Admin, I'm running Java "1.6.0_45". As far as the DB column, in the database it's an INT. I'll see if I can dig into what CF sees it as. @WebManWalking, But h ... read »
May 23, 2013 at 9:49 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Ben, I think the problem is that we're used to loose typing in ColdFusion, like JavaScript. If a value is a number but it's needed in an expression to be a string, noooo problem. I've encountered ... read »
May 23, 2013 at 9:47 AM
ColdFusion QueryAppend( qOne, qTwo )
You rock! Thank you, thank you, thank you!!! ... read »
InVision App - Prototyping Made Beautiful With Prototyping Tools