Ember Engines

ember install ember-engines

Composable applications for ambitious user experiences.

Ember Engines

What Are Engines?

Put briefly, Engines are isolated, composable applications. They have almost all the same features as normal Ember applications, except an Engine requires a host application to boot it and provide a Router instance.

Engines allow multiple logical applications to be composed together into a single application from the user's perspective. - Engines RFC

Since each Engine shares a single router and host, you can compose logical applications in new and truly ambitious ways!

Why Use Engines?

There are a variety of motivations for using Engines with Ember, but some of the more compelling reasons are:

  1. Distributed development - Engines can be developed and tested in isolation within their own Ember CLI projects and be included by applications or other engines. Engines can be packaged and released as addons themselves.

  2. Clean boundaries - An engine can cooperate with its parents through a few explicit interfaces. Beyond these interfaces, engines and applications are isolated.

  3. Lazy loading - An engine can allow its parent to boot with only its routing map loaded. The rest of the engine can be loaded only as required (i.e. when a route in an engine is visited). This allows applications to boot faster and limit their memory consumption.

Get Help & Contribute

The Ember Engines source code (including this website) is available on GitHub. If you run into an error with the Engines code itself or think a feature is missing, please file an issue.

The best way to get help for project-specific issues is via the Ember Community Discord. Once you’ve signed up, join the #ember-engines channel.

Engines Roadmap

Ember Engines are currently pre-1.0 software and under active development. Check out our roadmap to 1.0.