O'Reilly logo

Ember.js Web Development with Ember CLI by Suchit Puri

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 6. Communicating with the API Server Using ember-data

In the last chapter, we learned about the Ember.js controllers. We learned about how to decorate our models with view-specific business logic using Ember.js controllers. In this chapter, we shall improve our understanding of how to effectively communicate with the backend server using ember-data library.

In this chapter, we shall cover:

  • Introducing ember-data
  • Defining ember-data models:
    • Defining relationships between your ember-data models
    • One-to-one
    • One-to-many
    • Many-to-many
  • Understanding the ember-data identity map – DS.Store
  • Working with records:
    • Finding the records
    • Modifying the records
  • The default REST adapter and serializer:
    • Sideloaded relationships
    • Customizing the DS.RESTAdapter
    • Customizing ...

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