The Principles of Object-Oriented JavaScript

The Principles of Object-Oriented JavaScript
By Nicholas C. Zakas

List Price: $24.95
Price: $18.59 Details

Availability: Usually ships in 24 hours
Ships from and sold by

65 new or used available from $11.95

Average customer review:
(121 customer reviews)

Product Description

If you've used a more traditional object-oriented language, such as C++ or Java, JavaScript probably doesn't seem object-oriented at all. It has no concept of classes, and you don't even need to define any objects in order to write code. But don't be fooled—JavaScript is an incredibly powerful and expressive object-oriented language that puts many design decisions right into your hands.

In The Principles of Object-Oriented JavaScript, Nicholas C. Zakas thoroughly explores JavaScript's object-oriented nature, revealing the language's unique implementation of inheritance and other key characteristics. You'll learn:

  • The difference between primitive and reference values
  • What makes JavaScript functions so unique
  • The various ways to create objects
  • How to define your own constructors
  • How to work with and understand prototypes
  • Inheritance patterns for types and objects

The Principles of Object-Oriented JavaScript will leave even experienced developers with a deeper understanding of JavaScript. Unlock the secrets behind how objects work in JavaScript so you can write clearer, more flexible, and more efficient code.

Product Details

  • Amazon Sales Rank: #39211 in Books
  • Brand: No Starch Press
  • Published on: 2014-02-23
  • Original language: English
  • Number of items: 1
  • Dimensions: 9.25" h x 7.28" w x .25" l, .57 pounds
  • Binding: Paperback
  • 120 pages


  • No Starch Press

Editorial Reviews

About the Author

Nicholas C. Zakas is a software engineer at Box and is known for writing on and speaking about the latest in JavaScript best practices. He honed his experience during his five years at Yahoo!, where he was principal frontend engineer for the Yahoo! home page. He is the author of several books, including Maintainable JavaScript (O'Reilly Media, 2012) and Professional JavaScript for Web Developers (Wrox, 2012).

Customer Reviews

Most helpful customer reviews

2 of 2 people found the following review helpful.
3Nothing new here
By T. Milan
If you don't own the Zakas Professional Java Script , V3 then I guess this is OK. If you are looking for ECMAS6 objects, it is not here.

This is a rehashing of the chapters in the Professional Java Script for Web Dev, even some of the same examples. I was hoping for more, but got less. Don't get me wrong, I thought Professional Java Script for Web Dev was a great book, but this book gives me very little additional information.

1 of 1 people found the following review helpful.
4A solid book
By Dmitry Novoselov
In general the book is very good, but, unfortunatelly, it does have some imperfections to it. For example, the constructor definition is quite vague: "A constructor is simply a function that uses "new" to create an object - any object can be a constructor". It is not strict enough and it doesn't really help. For an experienced developer, it restates the obvious in an disturbingly careless manner. For a developer new to JavaScript, it is most likely useless and confusing: a function _uses_ "new"? _What does this mean_? I've always thought it's me, a developer, who _uses_ "new" to make a constructor call of a function.

There is no way to correctly explain what the JavaScript constructor is without elaborating on the notion of _receiver_, how it is bound to _a function call_, and how a "constructor function" is _logically_ different from other functions even though (and that's what the author is apparently talking about) there's _no_ _technical_ difference between them.

Summarizing, the book is really good. For the most part is very thorough and solid. Definitely worth reading. But because of the things like the one above I am sorry to give it only four stars. Also, if you are deciding what books to read on JavaScript, whatever other books you choose, there is _the_ book on the matter: Effective JavaScript by David Herman. My personal belief, there's no other book on the language, that explains all the vital subtleties of it in such a clear and concise way.

3 of 3 people found the following review helpful.
5Great intro to Javascript for OO programmers
By dustmouse
I needed to learn JavaScript quickly for a project at work, coming from a .NET background. This book was perfect. These days I spend more time with JavaScript than .NET and I'm truly enjoying it. I'm still impressed by how much information Zakas could pack into this scrawny (less than 100 pages) book.

I singled out this book because of the title, and was not disappointed. Javascript can be pretty daunting at the outset (if you come from the strongly-typed world), but once you get the hang of it, it feels quite liberating.

This book definitely helped me understand how OO can be implemented in Javascript. Strongly recommended.

See all 121 customer reviews...

Connect with defaultLogic
What We've Done
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.

Manage research, learning and skills at defaultLogic. Create an account using LinkedIn or facebook to manage and organize your IT knowledge. defaultLogic works like a shopping cart for information -- helping you to save, discuss and share.

  Contact Us