JavaScript Templates with Handlebars.js.
Web apps are using JavaScript to create dynamic interfaces now more than ever before, and that’s not a trend that will change any time soon. DOM manipulation is great for simpler JavaScript apps, but what do you do when you’re changing huge chunks of the document with each change of the view? That’s where JavaScript templating comes into play.
Getting Started with Handlebars.js
[Updated: Title and link corrected to refer to Handlebars.js (with an ‘s’).]
Barney Carroll
I found this after a Google search for handlebar.js [1], an old stripped-down Javascript templating engine based on Mustache.js [2] — what you’re referring to is the more recent (and unhelpfully-named) Handlebar/s/.js, which purports to do the same thing, and unhelpfully makes no reference to the original.
Basically (this won’t be the first time I say this) — typo! ;)
[1] https://github.com/leeoniya/handlebar.js
[2] http://mustache.github.com/
Nate
Fixed. Thanks.