Re:Stop sending template engines to the browser. How to make...
by Too on Friday September 14, 2012 @11:11AM
(#4522012)
This is very effective. After a while this is basically as writing html.
An added benefit is that it's very easy to attach events or other javascript properties to any object in the hierarchy.
It's used like this:
Working with data structures is easy, children is just an array which can be the results of something like data.map() turning the data into elements.