Ember CLI

Ember DATA

Routing

Ember to Ruby on Rails

Controllers & Templates

Services

Components

Data Down, Actions Up

🏠 HOME








An Ember Service is a long-lived object (singleton) used to provide services to other Ember objects. It directly extends Ember Object but uses its own class name to encourage the services architecture pattern.

We can create a custom service and have it injected exactly like the Ember Data store – on any Ember object we want!

Services are the preferred way to hold session-wide state in an Ember app.

<aside> <img src="/icons/playback-previous_lightgray.svg" alt="/icons/playback-previous_lightgray.svg" width="40px" /> Ember to Ruby on Rails

</aside>

<aside> <img src="/icons/playback-next_lightgray.svg" alt="/icons/playback-next_lightgray.svg" width="40px" /> Data Down, Actions Up

</aside>