豆瓣
扫码直接下载
读过 Web Development with Clojure
Since the Clojure web stack is built on top of the Java HTTP Servlet application programming interface (API),1 applications can be deployed on any servlet container, such as Jetty, GlassFish, or Tomcat. Ring applications consist of four basic components: the handler, the request, the response, and the middleware. 引自 Chapter 2 Ring has a helper method to generate http response. (defn handler [request-map] (response (str "<html><body>" (:remote-addr request-map) "<body><html>")))
Ring has a helper method to generate http response.
(defn handler [request-map] (response (str "<html><body>" (:remote-addr request-map) "<body><html>")))
> 卡的所有笔记(24篇)
In Ring. The request map is really standard to RFC. What we got here? :server-port, :se...
compojure gives ability to create routes in clojure easily. apart from the standard ver...
表示其中内容是对原文的摘抄