I am using mootools for my project. Any recommendations for client side template library that plays well with mootools?
Client side template library for mootools?
672 Views Asked by Shekhar At
3
There are 3 best solutions below
0

Most of the time MooTools String.substitute()
works fine.
Another great script from Thomas Aylott is https://github.com/subtleGradient/mootools-subtle-templates . The repository seems dated, but the code is mostly basic JavaScript and works with the current MooTools version.
And of course, as mentioned, you can find more here: http://mootools.net/forge/browse?search=template .
0

check out JavaScript Micro-Templating by John Resig. It's a tiny, yet powerful stand-alone script that offers a great templating solution.
Finally I tried mustache.js and it just worked fine. So I just decided to stick with it. @digitaraid Thanks for tips. Ones which are on forge appeared somewhat complex to me.
There is also handlebars.js which is interesting too. I will try that in next few days.