As we saw in the section, Understanding the Ember Data identity map – DS.Store, all interactions with the server are handled by the adapter. Adapter in
ember-data understands how to connect to the server, in order to fetch and save the records from/to the server. Similarly,
serializer, as the name implies, is responsible for serializing or converting the response received from the server to
By default in
ember-data, the store will use the
DS.RESTSerializer. As the name implies, the
DS.RESTAdapter is based on the REST (Representational State Transfer) principles to load or save a record from/to the server. The
DS.RESTAdapter communicates with the HTTP server by sending ...