-
Book Overview & Buying
-
Table Of Contents
Spring Essentials
By :
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 |
|---|---|
|
|
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, reload, and iterate properties, relationships, related types, and so on. It provides information about states, attributes, fields, relationships, errors, and so on. Also, it provides life cycle hook events. |
|
|
This is the local repository... |
Change the font size
Change margin width
Change background colour