O'Reilly logo

Developing an Ember.js Edge by Jamie White, Matthew Beale, Christopher Sansone, Wesley Workman, Bradley Priest

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ember.Object

At the heart of Ember is a base class called Ember.Object. Fundamentally, Ember.Object is a JavaScript object with additional functionality, and nearly any object you work with in Ember will be a descendant of Ember.Object. Ember wouldn't be Ember without Ember.Object.

In this chapter we’ll cover Ember’s object model, it’s approach to classes and inheritance, and the powerful, but surprisingly simple, system of computed properties, bindings and observers.

Classes and Inheritance

JavaScript is an object-oriented language and therefore has the ability to define objects and inherit properties and behavior. Unlike languages such as Java, C#, Python and Ruby, which employ “classical” inheritance, JavaScript uses what's known as “prototypal” ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required