4 ms·
Thanks for the clarification. I had been confused through a lack of understanding about where compojure's handler functions stopped and clout's routing started.
by brehaut 17y ago
Thanks for the clarification. I had been confused through a lack of understanding about where compojure's handler functions stopped and clout's routing started.
- weavejester 17y agoClout just handles the parsing of a string like "/books/:isbn" into a structure that can be matched against a URI (internally represented as a regex and a vector of keywords).
- brehaut 17y agoWill compojure let you specify an alternative route parsing/handling library via a binding, protocol or similar?
- weavejester 17y agoTheoretically, so long as that library produces the same output as Clout. This means the route needs to be able to be specified as a regular expression.