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’).]

Here Be Comments