O'Reilly logo

Ember.js in Action by Joachim Haagen Skeie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Automatically updating templates with Handlebars.js

This chapter covers

  • Understanding why you need templates
  • Working with Handlebars.js expressions
  • Using simple and complex expressions
  • Understanding the relationship between Ember.js and Handlebars.js
  • Creating your own custom expressions

Ember.js doesn’t include a default template library, and you’re free to use your favorite JavaScript library. But because the same people who are behind Ember.js are also behind Handlebars.js, Handlebars.js is an especially nice fit for Ember.js applications. Handlebars.js also has all the features that you’re looking for in a solid template library. Handlebars.js is based on Mustache, which is a logic-less template library that exists for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required