Persisting data with Ember Data

Ember Data is Ember's data-access mechanism. It provides a simple API to deal with data, abstracting the complexities and protocols of data access and diverse data sources. With Ember Data, clients can deal with data models just as any other Ember object.

Ember Data defines a set of fundamental components that handle various roles and responsibilities in data access. These components are grouped under the namespace DS. The following table describes the most important Ember Data components defined under DS:

Component

Purpose

DS.Model

This is the fundamental unit of data and represents a record in a data collection. You need to define your data models by extending this class. It provides methods to save, delete, ...

Get Spring MVC: Designing Real-World Web Applications 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.