public
Description: Concise web framework for Clojure
Homepage: http://groups.google.com/group/compojure
Clone URL: git://github.com/weavejester/compojure.git
mtnygard (author)
Fri Oct 23 14:33:29 -0700 2009
weavejester (committer)
Sat Oct 24 05:47:49 -0700 2009
commit  1361dc3c7f33e74abc8e2900a5317518fac06df7
tree    26c090feb58e5f97c671ed92dce20dcffe9db5b5
parent  87cb616790d3bd41b4b08367a0f00547dd0b3027
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. The current stable branch has been released as version 0.3.1.

Sample Code

Here's a small web application written in Compojure:

(use 'compojure)

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

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

Dependencies

To run Compojure, you'll need:

These dependencies can be downloaded automatically using:

ant deps

Documentation

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

There is also a rough draft of a Compojure Tutorial available to read.

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: