This is my first article in a series called Rock Solid Software. In it I explore different dimensions of software that does not simply break. You can write good software in any programming language, although some are more suited to a disciplined practice then others, Clojure is definitely in the relaxed space of discipline here.
Today I am exploring the use of Selmer templates in Clojure. If you have explored Biff at all you will know that all the UI logic works by sending Hiccup
through a handler, which will turn into HTML through rum
(specifically the wrap-render-rum
middleware). If you provide a vector as a result for an endpoint, it will be converted to HTML.