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 4. Managing Application State Using Ember.js Routes

In the last chapter, we learned about the Ember.js template layer. We learned how to use the Ember.js template markup, expression, and helpers to create complex templates. In this chapter, we will focus on the Ember.js routes. We will see how to manage your application state, using the Ember.js router.

In this chapter, we will cover the following topics:

  • Application state
  • Creating your first route
  • Resources and nested templates
  • Injecting the model for your template
  • Making routes dynamic
  • Setting up the controller
  • Customizing templates to render
  • The location API

Application state

URL, or Uniform Resource Locator, is one of the most important parts of any web application. With time, URLs have evolved ...

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