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

Example application

Now that we have discussed different aspects of the ember-data library, let's look at a real example for the same.

The source code for the example can be found at https://github.com/suchitpuri/emberjs-essentials/tree/master/chapter-6/example1. In this example, we are aiming to continue with the books model that was defined in the chapter, and work on the following functionality:

  1. Create a new book and its related author and publisher.
  2. View a book's information, including its related publisher, authors, and reviews.
  3. View the list of all books in our catalog.

Here, to communicate with the backend server, we have used the HTTP-mock generators provided by Ember CLI to generate mock responses. The HTTP-mock generator generates the Express.js ...

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