- EmberJS Tutorial
- EmberJS - Home
- EmberJS - Overview
- EmberJS - Installation
- EmberJS - Core Concepts
- Creating and Running Application
- EmberJS - Object Model
- EmberJS - Router
- EmberJS - Templates
- EmberJS - Components
- EmberJS - Models
- EmberJS - Managing Dependencies
- EmberJS - Application Concerns
- EmberJS - Configuring Ember.js
- EmberJS - Ember Inspector
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
EmberJS - Object Model
The following table lists down the different types of object model in Ember.js along with their description −
|S.No.||Types & Description|
|1||Classes and Instances
Class is a template or blue print, that has a collection of variables and functions, whereas instances are related to the object of that class. You can create new Ember class by using the Ember.Object's extend() method.
|2||Reopening Classes and Instances
This is nothing but updating the class implementation without redefining it.
A computed property declares functions as properties and Ember.js automatically calls the computed properties when needed and combines one or more properties in one variable.
|4||Computed Properties and Aggregate Data
The computed property accesses all items in an array to determine its value.
The observer observes the property such as computed properties and updates the text of the computed property.
The binding is a powerful feature of Ember.js which helps to create a link between two properties and if one of the properties gets changed, the other one is updated automatically.