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

Understanding the state transition cycle

A request is handled in the same way water travels from the roots (the application), up the trunk, and is eventually lost off leaves. This request we are referring to is a change in the browser location that can be triggered in a number of ways, as we shall discover more in the next chapter.

Before we proceed into finer details about routes, let's discuss what happened when the application was first loaded. On boot, a few things happened as outlined:

  • The application first transitioned into the application state, then the index state.
  • Next, the application index route redirected the request to the contacts resource.
  • Our application uses the browser's local storage to store the contacts and so for demoing purposes, ...

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