21 Models and Data Binding

For the next part of the Tracker app, you will focus only on the data layer.

You have already worked quite a bit with data in the form of object literals. You have created and modified objects and their properties, and you have created functions to quickly make objects with default values. You know how to store data in localStorage and sessionStorage.

In Tracker, you are going to work with data in the form of models. Models are essentially functions that create objects with specific properties and methods. They are the architecture of data flowing through your application.

Ember has an object class that can take care of your initial need to define your app’s data architecture: Ember.Object. All ...

Get Front-End Web Development: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.