CARVIEW |
technomancy / compojure forked from weavejester/compojure
- Source
- Commits
- Network (35)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Branches (3)
- core
- experimental
- master ✓
- Tags (0)
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Concise web framework for Clojure — Read more

tree c5e7196c54b76b57bbef811331bcfb94b02dc8d8
parent 733201b5cc2383449180d70d8594b0237221c411
name | age | message | |
---|---|---|---|
![]() |
README.markdown | Sun Jun 14 06:44:18 -0700 2009 | Updated README to version 0.2 [weavejester] |
![]() |
build.xml | Fri Apr 24 14:32:09 -0700 2009 | Use ant to run tests ($ script/test -> $ ant te... [lrenn] |
![]() |
deps/ | Loading commit data... ![]() |
|
![]() |
epl-v10.html | Sat Jan 17 19:16:13 -0800 2009 | Changed license to EPL 1.0 to match Clojure and... [weavejester] |
![]() |
src/ | ||
![]() |
test/ |
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.2.
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: