|
Handlebars.js is an extension to the Mustache templating language.
Mustache templates are compatible with Handlebars.
An extension to Mustache, the library provides additional features to build semantic templates effectively with no frustration.
Extensive documentation is included in the project's README file.
Differences from Mustache:
Handlebars.js supports an extended expression syntax called paths.
Can pass paths or Strings as parameters.
The ability to define block helpers. Block helpers are functions that can be called from anywhere in the template.
Can register additional templates as partials. Partials can either be String templates or compiled template functions.
Requirements:
· JavaScript enabled on client side
Via: Handlebars 1.0.6beta
0 Comment:
Post a Comment