Reputation: 25265
I did some research months ago looking for a nice javascript template engine and settled on one made by Trimpath.
I like this a lot, but I have a few wish list items:
Are there any other great template engines which have been released in the past year or so which I should know about?
Upvotes: 4
Views: 709
Reputation: 19528
Update: I thought I'd come back and update this to let people know that we settled on Handlebars.js. We've got several months experience with it under our collective belts and we've been very happy with our choice. It has the basics included and you can create helpers that give you additional capabilities as needed.
There's also ICanHandlebarz (similar to ICanHaz for Mustache) and http://tryhandlebarsjs.com/ so you can try before you buy, so to speak.
I now return you to the original answer I gave.
We've been doing a survey of JavaScript template engines because there are so many and they have many different syntax and performance profiles (some compiled, some not, etc.).
Unfortunately our favorite solution was jQuery Templates and it worked great. Now it's deprecated software and the proposed replacement for it (JsRender) is no where near ready to use at the time I write this (Oct 2011). So while there are so many to choose from, after having a solution we were quite happy with, we are suddenly adrift again and trying to find its replacement.
Comparisons
Template Loaders
Engines
Upvotes: 4