3 ms·
For an example of what isomorphism+macros can do, here's what dynamic HTML generation looks like in Clojure: https://github.com/yokolet/hiccup-samples#recipe-4-
by stolio 12y ago
For an example of what isomorphism+macros can do, here's what dynamic HTML generation looks like in Clojure: https://github.com/yokolet/hiccup-samples#recipe-4-form https://github.com/yokolet/hiccup-samples#recipe-4-form
There's a small DSL (domain specific language) to learn and then you get to write HTML in completely legal data structures where the entire language is at your fingertips.
Also, a simpler example: https://github.com/clojure-cookbook/clojure-cookbook/blob/master/07_webapps/7-13_templating-with-hiccup.asciidoc https://github.com/clojure-cookbook/clojure-cookbook/blob/ma...