Handlebars.js template plugin


Handlebars provides the power necessary to let you build semantic templates effectively with no frustration. Handlebars is largely compatible with Mustache templates. In most cases it is possible to swap out Mustache with Handlebars and continue using your current templates.

Demo Site github source code

Basic Example
Tempalte Text:

* {{name}}
* {{age}}
* {{company}}
* {{{company}}}
                    
Tempalte View:

{
  "name": "JavaTMP",
  "company": "<b>GitHub</b>"
}
                    
Handlebars Result:

                    
Remote Handlebars Result: (Go to .\src\java\com\javatmp\module\message\ViewHandlebarsMessageController.java to see implementation class)