Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ember Templates

Ember Templates

Talk from October 10, 2013 Boston Ember.js Meetup at Dock Yard
Handlebars, Ember.HandleBars, Emblem, templated bindings and handlebars helpers.

Patrick Holloway is a full stack Ember.js and Ruby on Rails developer at PatientsLikeMe.
@digitalpixelpro

patrickjholloway

October 11, 2013
Tweet

More Decks by patrickjholloway

Other Decks in Programming

Transcript

  1. > >> > > Ember Template s 1 They are

    A+ number one! Thursday, October 10, 13
  2. > >> > > Em.Handlebars.helpers 10 each template partial yield

    loc input textarea link-to linkTo outlet render action boolToReadable dateformat formatNumber helperMissing _triageMustache bind boundIf with if unless bind-attr bindAttr view collection unbound log debugger Thursday, October 10, 13
  3. > >> > > Emblem -indentation based -tags and helpers

    take priority 20 Thursday, October 10, 13
  4. > >> > > Ember Inspector 25 Can’t remember your

    pathname or how you are supposed to name that deeply nested controller? Having trouble recalling what that view’s poorly named template is? No problem! Thursday, October 10, 13
  5. > >> > > 26 Em === Ember Em.inspect &&

    Em.keys <-- oh yes App.__container__.lookup Em.View.views['ember605'] Em.keys(Em.TEMPLATES).forEach(function(t){console.log(t)}) Inspect something! Thursday, October 10, 13