Pro JavaScript Techniques and over one million other books are available for Amazon Kindle. Learn more
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images
Have one to sell? Sell on Amazon

Pro JavaScript Techniques Paperback – December 12, 2006

ISBN-13: 978-1590597279 ISBN-10: 1590597273 Edition: 1st
Try the eTextbook for free
Buy used
Buy new
Used & new from other sellers Delivery options vary per offer
98 used & new from $0.01
Amazon Price New from Used from
"Please retry"
Paperback, December 12, 2006
"Please retry"
$10.00 $0.01
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

Hero Quick Promo
Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now
$33.41 FREE Shipping on orders over $35. In Stock. Ships from and sold by Gift-wrap available.

Frequently Bought Together

Pro JavaScript Techniques + Secrets of the JavaScript Ninja + JavaScript: The Good Parts
Price for all three: $83.27

Buy the selected items together

Editorial Reviews

About the Author

John Resig is a programmer and entrepreneur who's been developing web applications for over eight years. Having primarily focused on back-end development for most of that time using Perl and MySQL, John changed his focus toward implementing usable web front ends. He holds a degree in computer science from Rochester Institute of Technology in New York, and has published several papers on data mining instant messaging networks. When he's not programming, he enjoys watching movies, writing in his blog,, and spending time with his girlfriend.

Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Series: Pro
  • Paperback: 384 pages
  • Publisher: Apress; 1 edition (December 12, 2006)
  • Language: English
  • ISBN-10: 1590597273
  • ISBN-13: 978-1590597279
  • Product Dimensions: 7.5 x 0.9 x 9.2 inches
  • Shipping Weight: 1.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (34 customer reviews)
  • Amazon Best Sellers Rank: #781,184 in Books (See Top 100 in Books)

More About the Author

John Resig is the Dean of Open Source and head of JavaScript development at Khan Academy and the author of the book Pro JavaScript Techniques. He's also the creator and lead developer of the jQuery JavaScript library.

Currently, John is located in Boston, MA. He's hard at work on his second book, Secrets of the JavaScript Ninja.

Customer Reviews

4.1 out of 5 stars

Most Helpful Customer Reviews

68 of 70 people found the following review helpful By Brett Merkey on March 19, 2007
Format: Paperback

"Pro JavaScript Techniques" is definitely for experienced and advanced scripters. The level of abstraction is high in this treatment of the latest trends of JavaScript. If you are looking for ready-made scripts to solve some specific problem in your site or application, you are looking for a different sort of book.

If you have ever gone to Douglas Crockford's site to learn about advanced concepts in JavaScript, and withdrew dazed and abused by his obtuse examples -- but with a conviction that there was something valuable to learn there -- this book is for you.

The author states, and I agree, that understanding Chapter 2, "Object Oriented JavaScript" is the key to the puzzle. "The phrase object-oriented JavaScript is somewhat redundant, as the JavaScript language is completely object-oriented and is impossible to use otherwise. However, a common shortcoming of most new programmers is to write their code functionally without any context or grouping."

The chapter contains a clear exposition of what the author means by "context or grouping." In fact, his concise but relevant example code to explain the distinction between privileged methods and static methods lit up all sorts of light bulbs in my head...Finally! :-)

Be aware that the author's approach has a particular bias in that it is often directed at the *programmer* coming into Web scripting. The idea is to make the JavaScripting world appear more like the programming languages already known. You learn "how to go about writing a variety of object-oriented code to suit anyone coming from another programming language."

This is a great book -- but not for all.

5 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
33 of 33 people found the following review helpful By Felix Sheng on January 27, 2007
Format: Paperback
As a javascript dabbler, I was looking for a book aimed at someone already familiar with javascript and found this one. Having read a few apress books, I felt pretty confident that the quality of this one would be at least reasonable and I definitely wasn't let down.

The executive overview is that this is an excellent book for those who are already working in javascript and are looking to improve their game. It covers a world of techniques very well. Highly recommended.

Now, the longer review...

This is an excellent book that deftly avoids the pitfalls so many books that claim to be aimed at people familiar with the topic. So many of these types of books try to be accessible they end up giving a lot of basic information mixed in with the advanced information - ultimately becoming a text unsatisfying for people of any level. This book devotes the beginning 15% of pages going over the basics, but it covers a ton of ground by acting more as a refresher course - assuming at least basic familiarity with most of the topics. I think it really did a great job of this, starting in Chapter 1 with a broad overview of OO javascript, cross browser issues, being serious and rigorous with your development process and their particular views on how to deploy javascript unobtrusively.

The subsequent 3 chapters are the refresher course. These chapters work through a ton of topics, at times it refers you to sites on the net for further information. He starts the overview with pretty much every topic in OO development, from scope and closures to a remarkably sweet and concise description of context. He brings together all these topics and how together they form the building blocks for javascripts particular flavor of OO.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
24 of 25 people found the following review helpful By Frank Stepanski on May 28, 2007
Format: Paperback
In the days of Ajax, a good understanding of JavaScript is crucial in really understanding how Ajax works. This book by John Resig (developer of JQuery) has written an intermediate - advanced book on JavaScript teaching the reader topics such as object-oriented practices, creating reusable code, DOM, events along with many useable examples. With all the fancy JavaScript libraries out now, it is good to have a book that teaches the reader how to create your own libraries or at least how many of those are create with proper object-based development.

Until Ajax came along (which brought about JS libraries), knowing how to create objects and reusable code wasn't really explained much in books. This book talks about it in the first chapter, where John shows how to create objects via Prototyping, function overloading and using the Object constructor. John also talks about closures, scope, property and method creation and namespacing. All of these topics are found in other languages (C++, Java, VB.NET), but were not really used much in JavaScript until recently. John also covers in detail inheritance (classical and prototypal) and goes through other libraries (YUI, Dojo, Prototype, etc) and how they are created. A very thorough explanation on objects and creating reusable code in JavaScript. Actually this is one of the few books that have covered these topics in such detail. Many other books just skimmed the surface with these topics that made it hard for the newbie to understand.

What current JavaScript book could be published without talking about the DOM. Every book nowadays talks about this topic since everything out on the web seems to use it in on form or another.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Pro JavaScript Techniques
This item: Pro JavaScript Techniques
Price: $33.41
Ships from and sold by

What Other Items Do Customers Buy After Viewing This Item?