3 ms·
> don't use templates, generate HTML from code with a DSL that makes HTML I agree. This is how I've done it for last few years and have recommended it before
by draegtun 15y ago
> don't use templates, generate HTML from code with a DSL that makes HTML
I agree. This is how I've done it for last few years and have recommended it before on HN.
ref: http://news.ycombinator.com/item?id=1518096 http://news.ycombinator.com/item?id=1518096 | http://news.ycombinator.com/item?id=705706 http://news.ycombinator.com/item?id=705706 | http://news.ycombinator.com/item?id=705800 http://news.ycombinator.com/item?id=705800
also: Web Development as Tag Soup - http://news.ycombinator.com/item?id=252185 http://news.ycombinator.com/item?id=252185