Skip to content

Comment on Bringing functional to the frontend – Clojure and ClojureScript for the web

Comments

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)

ariaOP

No, 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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.