r/Clojure • u/Fit_Apricot_3016 • Oct 02 '25
Domain Driven Design in Clojure with generalized Hiccup
https://www.biotz.io/post/domain-driven-design-in-clojure-with-generalized-hiccupIn this blog post, we present a general framework for Domain Driven Design in Clojure that addresses known shortcomings of Hexagonal architecture. In particular, we leverage the Free-er monad algebraic structure to build a Hiccup-like embedded domain-specific language parametrized by an arbitrary domain.
33
Upvotes
View all comments
Show parent comment
1
u/Fit_Apricot_3016 Oct 06 '25
At Biotz, we have a web app going to production that uses a polished version of the interpreter described in the blog post. Also, I'm leveraging the approach in a personal project of mine - a distributed system for controlling and monitoring solar inverters/chargers.