Re:Stop sending template engines to the browser. How to make...
by ZoFreX on Friday September 14, 2012 @06:55AM
(#4521055)
You could also ask the same question about server-side templating: Why do we string-interpolate rather than manipulate the DOM? DOM manipulation is more robust and far, far more secure (you can auto-escape variables as you know their actual context).
I can think of a couple of ways to do that but it hasn't taken off largely yet:
I can think of a couple of ways to do that but it hasn't taken off largely yet:
https://www.facebook.com/notes/facebook-engineering/xhp-a-ne...
http://liftweb.net/