Lessons:14Length:2.5 hours
  • Overview
  • Transcript

2.1 Classes and Objects

One of the key features about Ember is its object model. Since ECMAScript 6 (the spin of Javascript that modern browsers use) doesn't have classes yet (it will only be available in ECMAScript 6), Ember decided to implement their own flavor of classes and objects. Every component in Ember inherits from Ember.Object.

You will learn how to define classes and instantiate objects.