Object-Oriented JavaScript and over one million other books are available for Amazon Kindle. Learn more

Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries

42 customer reviews
ISBN-13: 978-1847194145
ISBN-10: 1847194141
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Sell yours for a Gift Card
We'll buy it for $2.00
Learn More
Trade in now
Have one to sell? Sell on Amazon
Rent
$12.79
Buy used
$18.29
Buy new
$37.99
Amazon Price New from Used from
Kindle
"Please retry"
Paperback, July 24, 2008
"Please retry"
$37.99
$35.00 $9.99
More Buying Choices
20 New from $35.00 24 Used from $9.99

There is a newer edition of this item:

Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Amazon Educational Video Store
Amazon Educational Video Store
From Adobe to Microsoft and web design to photography, learn new skills in the Amazon's Educational Video Store. Explore More.

Frequently Bought Together

Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries + JavaScript: The Good Parts + JavaScript Patterns
Price for all three: $71.05

Buy the selected items together

Editorial Reviews

About the Author

Stoyan Stefanov is a Yahoo! web developer, Zend Certified Engineer, book author, and contributor to the international PHP community. He talks regularly about JavaScript, PHP, and other web development topics at conferences and his blog www.phpied.com and also runs a number of other sites, including JSPatterns.com - a site dedicated to exploring JavaScript patterns. Stoyan is the engineering lead of Yahoo's performance optimization tool 'YSlow', as well as other open-source tools and 'PEAR' libraries.
If you buy a new print edition of this book (or purchased one in the past), you can buy the Kindle edition for only $2.99 (Save 80%). Print edition purchase must be sold by Amazon. Learn more.



Best Books of the Month
Best Books of the Month
Want to know our Editors' picks for the best books of the month? Browse Best Books of the Month, featuring our favorite new books in more than a dozen categories.

Product Details

  • Paperback: 356 pages
  • Publisher: Packt Publishing (July 24, 2008)
  • Language: English
  • ISBN-10: 1847194141
  • ISBN-13: 978-1847194145
  • Product Dimensions: 7.5 x 0.8 x 9.2 inches
  • Shipping Weight: 1.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (42 customer reviews)
  • Amazon Best Sellers Rank: #867,218 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews

43 of 46 people found the following review helpful By Frank Stepanski on August 2, 2008
Format: Paperback
Object-Oriented JavaScript by Stoyan Stefanov is a first among JavaScript books in my opinion. OOP in JavaScript is not new, but has gained much popularity since the use of JavaScript in Ajax and the development of JavaScript libraries and widgets from various web companies (especially Yahoo!). Learning how to create component-based applications using JavaScript is not an easy thing to master if all you know about JavaScript is doing "mouse-overs" or neat little effects. There really isn't a book out there that really explains how OOP works in JavaScript completely.

There are books from Apress and WROX that are geared towards "intermediate" topics in JavaScript such as creating objects and so forth, but they quickly go into sing custom libraries which really doesn't teach you anything apart from using a library.

This book really goes into detail in explaining how the syntax of JavaScript can be used to create scalable applications from the ground-up. I would say this book is geared for the developer who has a grasp on the language itself but wants to learn more in creating real useful applications for the web using JavaScript and wants to learn without depending on any pre-built library or component.

The author goes into the basics of the language first (chapter 1-2) then spends a chapter on functions (chapter 3) which is the many ways in JavaScript to create objects. Since JavaScript is not a fully OO language, it can get confusing on understanding the many different ways to create an object. Stoyan explains it very well with many examples so anybody can understand it.
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
45 of 51 people found the following review helpful By Arne Claassen on January 28, 2010
Format: Paperback Verified Purchase
The book is very well written and contains a lot of great information, but if you're looking to learn how "Create scalable, reusable high-quality javascript applications and libraries", it is nearly useless. There were a total of two chapters that I found useful to a non-novice. One covered inheritance options in incredible details (which is great, since there are so many), and the last chapter gives lip service to covering common OO patterns with javascript. That's about it. "Introduction to creating objects and simple OO patterns in Javascript" would have been a much more apt title.
2 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
21 of 23 people found the following review helpful By Evan Larsen on October 29, 2008
Format: Paperback Verified Purchase
This is a well written book, I recommend that everyone wanting to get into javascript programming go pick up this book. I first bought JavaScript: The Definitive guide by Oreily because everyone in the JavaScript community said thats the most detailed book on javascript. But that book was like reading a dictionary and I would get bored with it pretty quick. This book "Object-Oriented Javascript" is a wonderful read, its well structured. Flowing from 1 chapter to another giving you everything you need to know like building blocks laying out a strong foundation.

Before I read this book I wasnt comfortable with javascript at all, but now I feel like I can do just about anything with it. I really liked the chapters on Prototyping and the section on closures work. The author really tries hard to show how javascript works by not only explaining it in laymen terms but also having diagrams to help illustrate his point. The examples are kept short and to the point and he has many examples to help get all his points across.

The way this book is layed out it will make for a good desktop reference.

Stoyan Stefanov, I'm looking forward to any more books you might come out with.
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
16 of 17 people found the following review helpful By Clint Pachl on September 29, 2011
Format: Paperback Verified Purchase
I found the online Mozilla Developer Network (MDN) "JavaScript Guide" and "JavaScript Reference" to be a more concise and thorough teaching of the JavaScript language. The MDN docs have higher-quality and many more charts/graphs/tables. The code examples are also more meaningful and relevant. Moreover, the MDN docs have coverage on iterators and generators, XML processing with E4X, and a modern look the prototypical object model.

"Chapter 6: Inheritance" is very extensive, covering 12 techniques of achieving differing levels of inheritance. The author makes numerous references to Douglas Crockford's early-day methods of classical inheritance. The problem is Crockford himself states, "I now see my early attempts to support the classical model in JavaScript as a mistake." I feel the author's promotion of the classical approach diminishes the power of JavaScript as a functional/prototype-based language. Besides, most of these inheritance implementations are moot with JavaScript's new native function: Object.create.

"Chapter 8: Coding and Design Patterns" is the only chapter that goes beyond the beginner level. This is also the only chapter of the book that is not directly covered in the MDN documentation. However, this chapter is only 25 pages; barely an overview of such intermediate topics. For an in-depth look at design patterns, I would highly recommend Pro JavaScript Design Patterns (Recipes: a Problem-Solution Ap).
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
Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries
This item: Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries
Price: $37.99
Ships from and sold by Amazon.com

What Other Items Do Customers Buy After Viewing This Item?