O'Reilly logo

Mastering Ember.js by Mitchel Kelonye

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Data Persistence through REST

Up to this point, we've been dealing with frontend aspects of Ember.js-powered applications. Your typical application will, however, need to connect to backend services such as databases. Ember.js makes this simple by integrating solutions for such needs. This chapter assumes no knowledge of server-side technologies, but it will attempt to explain any samples that contain server-side code as clearly as possible. Ensure that you also attempt the given exercises in order to understand the following:

  • Making Ajax requests
  • Understanding Ember-data
  • Creating data stores
  • Defining models
  • Declaring model relations
  • Creating records
  • Updating records
  • Deleting records
  • Persisting data
  • Finding records
  • Defining a store's adapter

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required