Smashing jQuery by Jake Rutter

My new book, Smashing jQuery, is now available in Kindle

format on Amazon and will also be available in paperback

format starting Feb. 8th. I received my first few copies of the book on Monday and Im very pleased with how the book has turned out.

Over the next few weeks, Im hoping to get the book in front of jQuery and Web Design professionals and receive feedback from the community. I put a lot of effort into writing the book in a way that will appeal to both beginners and intermediate jQuery programmers, by introducing jQuery from the ground up and eventually getting into some advanced tutorials using Ajax.

Learn more about the book

Comments

Jason
Reply

I'm not sure about that Feb 8th date Jake, cause I picked up the book locally in Addison Tx on Monday!

But, I'm completely new to jQuery, and I think this book was meant for ppl like me. I needed to use some javascript and couldn't find a resource that was working for me. I wanted, and needed, to start at the bottom, but without getting stuck in the basics. Your book is a great balance, and I've already used the info to implement the feature I **Needed**, so I'm moving on to stuff that is going to be even more fun.

Great book! Thanks!

John Phillips
Reply

I purchased your book a few weeks ago for my iPad via Kindle. It is exactly what I need in my endeavor to learn JQuery and Professionally implement it into my web applications.

Thanks for writing it up. One of the great things I liked were the examples. Do you have any working examples of a full Client Side Application using jquery?

jrutter
Reply

Yes, on stamfordctguide.com there is a working example of the Yelp integration that I explained how to build in my book.

Nathan
Reply

I'm on page 80 and have been confused by quite a few errors in the book. I'm new to jQuery, so I'm going through it step by step and already I've noticed mentions of classes or IDs that don't exist in your code. Is there anywhere I can find corrections to the errors in your book? Thanks.

jrutter
Reply

Nathan,

I have just started logging all of the errors that I have found in the book on the following page: http://www.onerutter.com/smashing-jquery-errata

It looks like on page 80, I give an example of code that will not work. Did you read the passage about the code? This is not a coding error on my part.

Robert
Reply

I will be returning this book for a full refund. It has errors and mistakes on almost every other page. It is very hard for someone new to jQuery to follow along because of all the mistakes. I find it funny how you delete any comments that tell the truth about your book. I will make sure people know about the errors in your book.

jrutter
Reply

Thank you for the feedback on the book. I take any reviews of the book very seriously, this book took me about 6 months to complete and I dedicated many countless hours to pulling together sample code, etc. It seems as though during the editing process, code errors were introduced – I'm not happy about this. If there is anything I can do to help you, please let me know.

Regarding the errors:
The content and all of the associated code was reviewed and tested by two different technical reviewers prior to publication, and has been reviewed post-publication by members of the jQuery core team. While we have caught a few typos we are correcting, if you have specific examples of broken code I would very much like to know about them so we can get those evaluated and corrected in reprints, and posted on the book's errata page.

I'm going to be posting all the coding errors I have found in the book on my website, with solutions which should hopefully help clear up some of the confusion.

peter
Reply

Hello, thank you very much for this book. It is helping me to learn jquery and js.
I have a question though that I would really appreciate if you could answer.
On page 229 when you give the example xml code, what is the rationale for having author as an attribute of book whereas title isbn etc are fields in their own right?
Thanks!

jrutter
Reply

Peter,

Thanks for the feedback on the book. When creating XML, you can define the structure in whichever way you see fit. I could very well have added the author as a separate node, but in this case it seemed logical to add the author as an attribute. I mainly did it this way to show the difference in jQuery when you select the value from an attribute vs. a node in XML.

Hope that helps!

Prathap
Reply

Yes, i agree with other guys the book a good guide for jQuery beginners but the book contains full code error like some won't work when the even has to be in quotes like $('mylink').bind(click, alertMe); <– in this code if you don't add the single/double quotes to 'click' event the code won't work. Guys i suggest to use firefox – firebug plugin to find these error instead feeling bad if you were making mistake on your own thinking if the code was good but u are making something wrong. If jrutter had reviewed this book thoroughly before it was released to public would have been better.

jrutter
Reply

Thanks for the feedback on the book and please understand that I had two technical reviewers edit the book after me, some errors just simply made it into the book. I have started to log all of the code errata on my website here and included the error that you just raised: http://www.onerutter.com/smashing-jquery-errata

Please let me know if you have spotted anything else and I will make sure it gets added!

Thanks!

Randore
Reply

Hi jrutter,
On page 74,75 the array holding the images and the array.length associated to the variable is not same, thus the code will give you an error.
Change the variable on first line to something like this will make the code work for you.
var imgArray = [“loc_portrait1.jpg”, “loc_portrait2.jpg”, “loc_portrait3.jpg”, “loc_portrait4.jpg”, “loc_portrait5.jpg”];
(to)
var imageArray = [“loc_portrait1.jpg”, “loc_portrait2.jpg”, “loc_portrait3.jpg”, “loc_portrait4.jpg”, “loc_portrait5.jpg”];

Randore
Reply

Hi Jake, thanks for writing a good book like this and i would like to see a review-ed 'Second' edition of this smashing jquery with more improvements and live examples. What i most liked in this book is the comparison of javascript and jQuery, i think this is great way to teach and new learners like me would greatly appreciate that, because we get the chance to learn both javascript and jQuery framework.

Example: Get an element by it's ID. (note to fellows: the following eg is written by me for showing purpose)

javascript example: document.getElementById('element ID').style.backgroundColor = "red";
jQuery : $('#ID').css('background-color','red');

I really like this approach, this way anyone can easily follow both javascript and jQuery both at once.
I hope you will write a new edition of this book with more examples of real world problem solving.

Thanks a lot,
Geek :)

jrutter
Reply

Randore,

Thanks again, Yes – Im hoping to get an updated edition out there with less errors!

dwd
Reply

Hi ,
1st of all your book is great…
just one thing in the example 9-12 about ajax and xml don't work in Internet Explorer… the json version worked….

Leave a Reply