1. Extend slacker server with interceptors

    Sun 18 December 2011
    • 装备 tags:
    • clojure
    • github
    • project
    • slacker published: true comments: true

    An interceptor framework was introduced in slacker 0.3.0. It's designed to allow user to add custom functionality without hacking into the internal of slacker.

    Like many server frameworks, slacker abstracts the request processing as a pipeline. The …

  2. 使用Clojure Thread Macro的心得

    Fri 16 December 2011
    • 手艺 tags:
    • clojure
    • macro published: true comments: true

    Thread Macro是clojure里一个很强大的宏,他帮助你简化嵌套函数的调用,比如
    [cc lang="clojure"]
    (str (inc (count [:a :b])))
    [/cc]
    就可以利用thread macro简写成
    [cc lang="clojure"]
    (-> [:a :b] count inc str …

  3. slacker 0.2.0 is out

    Sat 10 December 2011
    • ANN tags:
    • clojure
    • java
    • project
    • slacker published: true comments: true

    Slacker 0.2.0 has been pushed to clojars today. Connection pooling and json serialization are available in this release.

    Connection Pool

    Generally, pooling connection is a good idea in high concurrence application. To make slacker for real world, connection …

« Page 29 / 133 »