Question

I am trying to make an informed decision about which Javascript templating framework to use. There are so many choice, from Mustache, Handlebar, Hogan, jQuery, and Closure templates. I already have some basic rules of comparison, like filesize, maturity (how do I measure that?!), community support, and rendering speed (how do I measure that?)

In short, I am collecting ideas to understand what else is there that would make for a good basis of comparison between these options. What are your thoughts? Please share them with me.

Thank you!

Was it helpful?

Solution

Here, a performance comparison on jsPerf:

http://jsperf.com/dom-vs-innerhtml-based-templating/365

It compares a dozen of template-engines. Notice that this thing is in revision 365 (it has been updated that many times), which means that - as a comparison - it is quite mature.

OTHER TIPS

There's also Distal http://code.google.com/p/distal

For rendering speed you'll have to split by browser version.

You could also measure popularity.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top