I create a new web framework using clojure.
https://github.com/zhujinxian/road.git
It implements a servelet filter, transfer parameters of http request to
handler and rendering the results of handler using hiccup lib.
you can use like:
(defn handler [^Integer x]
{:text (str "hello
/web-test-0.1.0-SNAPSHOT-standalone/home/:num{\\d+}" home))
(defn -main [& args]
(log/info "-log4j test---")
(jetty/run-jetty road {:port 3000}))
https://github.com/zhujinxian/road.git
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fzhujinxian%2Froad.git&