github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

weavejester / compojure

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 468
    • 34
  • Source
  • Commits
  • Network (34)
  • Issues (2)
  • Downloads (6)
  • Wiki (2)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • refactor
  • Tags (5)
    • 0.3.2
    • 0.3.1
    • 0.3
    • 0.2
    • 0.1
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Concise web framework for Clojure — Read more

  cancel

http://groups.google.com/group/compojure

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

refactoring use/import statements 
abedra (author)
Fri Jan 08 07:48:48 -0800 2010
weavejester (committer)
Wed Jan 13 13:25:15 -0800 2010
commit  5752c7bf2260110af37816142c4cedc25811db8a
tree    f974df99ae768c6d05671308afa544b3c21b94b1
parent  60200f21ab3e7e8db586c8125ec24daa3b97f859
compojure /
name age
history
message
file .gitignore Wed Jan 13 13:17:28 -0800 2010 Added Leiningen project file [weavejester]
file README.markdown Mon Sep 28 09:02:04 -0700 2009 Updated README to version 0.3.1 [weavejester]
file build.xml Fri Jan 08 06:26:18 -0800 2010 updating tests/runner to fit current conventions [abedra]
file epl-v10.html Sat Jan 17 19:16:13 -0800 2009 Changed license to EPL 1.0 to match Clojure and... [weavejester]
file project.clj Wed Jan 13 13:17:28 -0800 2010 Added Leiningen project file [weavejester]
directory src/ Wed Jan 13 13:25:15 -0800 2010 refactoring use/import statements [abedra]
directory test/ Wed Jan 13 11:59:39 -0800 2010 Merge branch 'testing' of git://github.com/abed... [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. 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:

  • Install Compojure on a Slicehost VPS
  • Using PostgreSQL with Compojure
  • Compojure security: authentication and authorization
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server