|
|
|
|
|
by asmala
4961 days ago
|
|
Based on my experience, Hiccup is more productive than just about anything else if the frontend person is the backend person or otherwise comfortable with Clojure. The ability to easily and cleanly define and combine abstractions in the presentation layer has been big productivity boost for me as a solo developer. As a concrete example, a small hobby project I did resulted in a fairly comprehensive library of Bootstrap helpers with very little effort: * https://github.com/asmala/giddyup I don't have much experience with Enlive but I find the approach is intriguing. On paper it seems perfect for clean separation of markup and logic, but you're right that careless use of the library leads to tight coupling due to the selector naming. I wonder if it would be possible to circumvent this issue using custom HTML attributes or even pseudo-CFML custom tags to indicate logical units in HTML? |
|