GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - chrisl8888/ember-best-practices: Ember Best Practices

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 

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

  • Ember Best Practices for Large Scale projects
  • Nathan Hammond - Controlling Route Traversal with Flows by

Videos

  • Designing Ember Components,August 2015

About

Ember Best Practices

Resources

Readme
MIT license
Activity

Stars

4 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.