An object or a model is a way to manage data in a structured way. In other words, they are a way of representing persistent states in your application. In Ember.js, almost every object is derived from the
Ember.Object class. Since most objects will be derived from the same base object, they will end up sharing properties with each other. This allows the observation and binding to properties of other objects. That being said, we can see where some of the powerful features of Ember, such as computed properties and bindings, come from.
We will create a basic model object and then create a subclass of this object.
modelsfolder, go ahead and create the following file called