Ember Data provides a central Data Store, which can be configured with a range of provided Adapters, but two core Adapters are provided: the RESTAdapter and FixtureAdapter.
The RESTAdapter is configured for use by default. You can read more about it in the Guides. It provides a fully RESTful mechanism for communicating with your persistence layer, and is the preferred and recommended choice for use with Ember Data.
This is definitely alpha-quality. The basics of RESTAdapter work, but there are for sure edge cases that are not yet handled. Please report any bugs or feature requests, and pull requests are always welcome.
No. The API should not be considered stable until 1.0. Breaking changes,
and how to update accordingly, are listed in
A guide is provided on the Ember.js site that is accurate as of Ember Data 1.0 beta.
The latest passing build from the "master" branch is available on http://emberjs.com/builds/#/canary.
Similarly the latest passing build from the "beta" branch can be found on http://emberjs.com/builds/#/beta
You also have the option to build ember-data.js yourself. Clone the repository, run
grunt buildPackages after setup. You'll find ember-data.js in the
- Handle error states
- Better built-in attributes
- Editing "forked" records
- Out-of-the-box support for Rails apps that follow the
- Handle partially-loaded records
Install Node.js from http://nodejs.org or your favorite package manager.
Install grunt and bower.
npm install -g grunt-cli bower
npm install && bower installinside the project root to install the JS dependencies.
- To start the development server, run
Install phantomjs from http://phantomjs.org
grunt devto automatically re-run tests when any files are changed.