public
Description: Concise web framework for Clojure
Homepage: http://groups.google.com/group/compojure
Clone URL: git://github.com/weavejester/compojure.git
name age message
file README.markdown Loading commit data...
file build.xml
file epl-v10.html Sat Jan 17 19:16:13 -0800 2009 Changed license to EPL 1.0 to match Clojure and... [weavejester]
directory src/
directory test/ Thu Feb 19 15:08:47 -0800 2009 Updated with new dependency versions [weavejester]
README.markdown

Compojure is an open source web framework for the Clojure programming language. It emphasizes a thin I/O layer and a functional approach to web development.

Compojure is still in active development. Version 0.1 is now available.

Sample Code

Here's a small web application written in Compojure:

(use 'compojure)

(defservlet my-servlet
  (GET "/"
    (html [:h1 "Hello World"]))
  (ANY "*"
    (page-not-found)))

(run-server {:port 8080}
  "/*" my-servlet)

Dependencies

To run Compojure, you'll need:

And to run Compojure's unit tests, you'll need:

Documentation

For information on how to get started and use Compojure, please see our Wiki.

Community

The Compojure Group is the best place to ask questions about Compojure, suggest improvements or to report bugs.

Tutorials

Eric Lavigne has written a series of excellent tutorials on Compojure: