Skip to content

chrisjlee/ember-best-practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Ember Best Practices

Ember Philosophies, the "Ember Way"

Data down, Ember Up

Data should always migrate down from it's parent and into it's child component / resource / etc. The data shouldn't be manipulated. Once the data is migrated down, use an action to bubble it back up.

Ember Concepts

Actions

  • When naming actions use verbs to indicate an action

Routes

Don't pollute your user's browser history.

  • When possible utilize beforeModel to evaluate if it is the correct route.
  • Utilize replaceWith() to opt out of a certain route before transitioning to it.

Tooling

Ember CLI

Ember CLI will allow one to easily implement best practices that are baked into the CLI tool:

  • "Pod" Based Folder Structure
  • ES6 transpilation
  • Unit Testing

Resources

Articles

Videos

About

Ember Best Practices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published