Introduction Edit Page


Imagine we are writing a web app for managing a blog. At any given time, we should be able to answer questions like What post are they looking at? and Are they editing it? In Ember.js, the answer to these questions is determined by the URL.

The URL can be set in a few ways:

Regardless of how the URL becomes set, the Ember router then maps the current URL to one or more route handlers. A route handler can do several things: