An Ember application is composed of a set of core elements with well-defined responsibilities and properties. They are defined under the Ember and DS namespaces of the Ember API.
This diagram depicts the high-level structure of an Ember application:
A router manages the application state. It maps a set of logical routes against unique URLs as mapped in the router configuration.
A route handler, also known as a route (defined in Ember.Route
), represents the handler for an individual route transition. A route can render a template that displays a screen. A route provides a model (data) that can be consumed by its template and controller. It has a corresponding controller that can handle user actions and maintain the state. A route can handle user actions by itself.