Introduction to Ember.js

dockyard.com






No Ember vs X
No Ember-Data




A brief history of Ember.js






API stable as of 1.0
Following Semantic Versioning
Current v1.1.2
This talk covers v1.2.0.beta




Ember.js allows you to build ambitious web applications while focusing on business logic

What we'll (time permitting) cover



  • Templates
  • Router
  • Models




Templates









Logic-less Templates

<div class="entry">  <h1>{{title}}</h1>  <div class="body">    {{body}}  </div></div> 





if/else/unless

no computation inside template

custom functionality broken out into helpers




CODEZ




Router & Routes






Think of the router as the
state-machine for your app






URLs are first class citizens in Ember.js






"If your user interface is nested, your routes should be nested"




Routes




The first one is free

Use your route to declare your model.

(codez!)




Models






Single source of truth






Computed properties




CODEZ!!






Ember is awesome





Ember is powerful





DockYard loves to work with Ember

dockyard.com/contact

Ember.js

By bcardarella

Ember.js

  • 2,419