Enlive (Clojure) offers selector based templating.
https://github.com/cgrand/enlive
This is how Pakyow used to do it as well. But it’s fragile as almost anytime the markup changes the backend has to be changed as well. Manipulating the view as data rather than markup via selectors avoids this entirely.
Enlive (Clojure) offers selector based templating.
https://github.com/cgrand/enlive
This is how Pakyow used to do it as well. But it’s fragile as almost anytime the markup changes the backend has to be changed as well. Manipulating the view as data rather than markup via selectors avoids this entirely.