O'Reilly logo

Mastering JavaScript Single Page Application Development by John Moore, Philip Klauzinski

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

Handlebars.js

Handlebars.js templates are also considered logic-less and are largely based on Mustache templates, but provide some additional features. They also exclude some of the features of Mustache templates that the creators did not consider useful.

Handlebars is one of the more prominent templating engines in the JavaScript community. It is used by several major open source JavaScript frameworks including Backbone.js, Ember.js, and the popular Meteor.js framework. It uses their own reactive flavor of Handlebars templating engine called Spacebars. Due to its popularity, we will cover Handlebars in a bit more depth here.

Explicit path lookup versus recursive path lookup

One of the features that differentiates Handlebars templates from Mustache ...

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