javascript templating engine that matches the smarty syntax
I am looking for a client-side javascript templating engine that matches the smarty syntax. We will probably use jQuery with it. Since we have a lot of legacy smarty templates, I am looking for an engine that we can feed with the old templates. The minimum would be to 开发者_开发问答have the same placeholder syntax, but the closer the better.
There is a Smarty implementation in JavaScript:
https://github.com/balupton/jquery-smarty
Free and open-source port of PHP Smarty to JScript: http://code.google.com/p/jsmart/
精彩评论