Load Data from RESTful Services
When using Ember to build your apps, it’s very likely that your data will come from a RESTful service. A RESTful service uses HTTP as a data query and delivery mechanism. Based on HTTP requests, it can be used to return data to the calling logic, or to modify a data store in some manner.
The Ember project is very keen on adapting the best ideas from the web community into the Ember framework, and Ember Data’s use of RESTful services is no exception. By simply declaring your model class, you are able to use the DS.Store object to get data from your server, assuming that the RESTful service exposes the expected API.
Although we won’t dig too deeply into the implementation of a RESTful service, throughout the ...
Get Deliver Audacious Web Apps with Ember 2 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.