Skip to content

Instantly share code, notes, and snippets.

@alexspeller
Created March 20, 2014 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexspeller/9654722 to your computer and use it in GitHub Desktop.
Save alexspeller/9654722 to your computer and use it in GitHub Desktop.

From http://madhatted.com/2013/8/31/emberfest-presentation-complex-architectures-in-ember

I find that most successful Ember projects follow a simple pattern for application design:

  • Controllers present information to templates. And not much else, ideally.
  • Actions are handled on routes. This makes routes (which can access models and arbitrary controllers via controllerFor) and controllers each responsible for a different set of concerns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment