< Back to Ember.JS notes

Basics and CLI

An extremely high-level look at Ember

Basics

Ember was first built on two-way data-binding, which has the templates and controllers having two-way conversations at all times. However having them both talk to each other all the time risks making the app overly-complex, and having variables create unexpected results.

The new Ember structure for all this is data down, actions up. This means all data flows down from the routes to the views, and actions change the data by moving back up towards the controllers/routers, making data changes, and having those changes flow back down to the views.

CLI commands