Customer Rating:      Summary: Excellent work! Comment: John Resig never fails to amaze and his latest book is no exception. I highly recommend it to everyone interested in javascript; it is a must have.
Customer Rating:      Summary: Finally, a JavaScript resource aimed at me Comment: Pro JavaScript Techniques by John Resig is probably the best resource on the language I've encountered to date. I'm one of those web developers who has had something of a mental block when it comes to JavaScript. Despite its ubiquity, it always seemed like a toy language to me. It didn't help that JavaScript's syntax plays a bit fast and loose to my tastes, and that virtually all of the other resources on the language I've encountered barely scratched the surface on what the language can actually do. If you're like me - familiar with the basics, but knowing that you're not proficient enough to use it in a professional setting - then this book is for you.
First, the bad news. Like all aPress books I've encountered, this one suffers from a few small, but glaring, editing errors. Small things - variable names that change between examples for no good reason, in-text refrences to things the author didn't mention (no doubt something missed between drafts), that sort of thing - crop up. It's not enough to break the book, but it is annoying.
Also, the first section of the book moves at break-neck speed. While some of it is review, for those of us who have been toiling in web tutorials and older books, a few re-reads are necessary to truly understand what's going on. Thankfully, Resig addresses things in a logical manner, so each topic flows nicely into the next, making returning to those parts as painless as possible.
Finally, in the chapter where he discusses public, private, and privledged object properties and methods, he completely glosses over how private properties and methods function. Instead, he merely tells the user to visit Douglas Crockford's site on the matter. It's a bit of a cop-out, and I figure that since I'm spending ~$30 on the book, the least he can do is briefly condence Crockford's ideas.
All that said, though, the positives outweigh the negatives by far.
Despite the quick pacing of the book, the information (ignoring editing inconsistencies) is delivered in a straightforward manner. Resig addresses most, if not all, of those little things which are important in the real world (testing/debugging, how to work with libraries, how to ensure your code doesn't interfere with someone else's code, etc), but are often ignored in other resources.
In particular, the early chapters (chapters 2 and 3) on dealing with JavaScript objects are well done. While Resig doesn't go into all of the details (most notably with the link to Crockford's site I mentioned earlier), these chapters form the foundation of just about everything you'd want to do with the language. Indeed, these chapters address most of the pitfalls that create those pesky JavaScript errors we've all dealt with before: scope, closures, and context. Understanding how those three concepts work in unison is fundamental towards understanding modern, professional JavaScript as a whole.
Being a JavaScript book, this particular volume visits topics we're most likely all familiar with: DOM scripting, event handling, and even a bit of AJAX. Thanfully, Resig stays true to his mission of creating inobtrusive JavaScript, and keeps his HTML separated from the scripting code. This is a far cry from other self-proclaimed professional tomes that embed their JavaScript function calls within their HTML tags.
To conclude (and reiterate), Pro JavaScript Techniques is the perfect book for those developers caught in the middle. It's a resource aimed at those of us who have had experience with the language, but have never been pointed in the right direction to use it in a professional manner. Despite its annoying flaws, this book fills the rather large gap between beginner's JavaScripting and creating robust AJAX applications. It's worth owning if you ever want to do serious work with the language.
Customer Rating:      Summary: Once good, now outdated Comment: This was an excellent book two years ago, (and still is), but it's now outdated. I bought it based on its nearly five-star rating; I wish I'd done my homework, since I immediately needed to buy other books to supplement this one.
Customer Rating:      Summary: breadth but no Depth Comment: Book has lots of examples. Many involve using libraries such as Prototype and JQuery. But, if you are not already familiar with using those libraries, the examples will not make much sense. And considering the typos in the straight JavaScript examples, it left me wondering about the validity of the library demos. Written in the style of a blogger where the author expects you to follow a link to a library's web page and then come back before you can understand the example. If I'm paying for a book to cuddle up with to read on a winter's night, I want it to be self contained - and not expect me to reach for the laptop to read up on the syntax of another library. It also didn't even touch upon one of the more difficult to grasp "Pro" techniques - scoping of "this" when using object methods during AJAX callbacks in the author's own code examples or the various libraries he touts.
Customer Rating:      Summary: If you want to know the next step Comment: If you are an intermediate javascript developer, and you want to know what to learn next in the javascript language this book is for you. Inside you will find concise information about several obscure javascript elements which will make your coding more effective once you master them.
|
|