3 ms·
On server-side templating - did you consider a selector-based approach like cgrand's Enlive? As I see it, it brings the best of both worlds (the comprehensibil
by vemv 14y ago
On server-side templating - did you consider a selector-based approach like cgrand's Enlive?
As I see it, it brings the best of both worlds (the comprehensibility of "logicful" templating, the maintainability of strictly separating presentation and data transformations)
- aria 14y agoNo, but I think enlive is great. To me and the team, most of our functions are making Clojure data structures and thinking of templating as converting data to dom elements or HTML strings seems the most compatible with that way of thinking. But both are definitely valid.