This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Sep 28 08:05:18 -0700 2009 | |
| |
README.markdown | Mon Sep 28 09:02:04 -0700 2009 | |
| |
build.xml | Fri Apr 24 14:32:09 -0700 2009 | |
| |
epl-v10.html | Sat Jan 17 19:16:13 -0800 2009 | |
| |
src/ | ||
| |
test/ | Sat Oct 24 05:47:49 -0700 2009 |
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:
- The Clojure programming language
- The Clojure-Contrib library
- A Java servlet container like Jetty
- Apache Commons FileUpload, IO and Codec.
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:








