diff options
| author | sostler <sbostler@gmail.com> | 2010-02-10 01:08:44 -0500 |
|---|---|---|
| committer | sostler <sbostler@gmail.com> | 2010-02-10 01:08:44 -0500 |
| commit | d3fcf8d56122514c3dcbac004fcf105a4e899352 (patch) | |
| tree | 484ded214ddba3a6cc44e40d129fe1fc403e91fc /compojure-3.2/README.markdown | |
| parent | 079e2e9c1d3d5fb0f19515bfb566864565c43213 (diff) | |
Added custom compojure tree
Diffstat (limited to 'compojure-3.2/README.markdown')
| -rwxr-xr-x | compojure-3.2/README.markdown | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/compojure-3.2/README.markdown b/compojure-3.2/README.markdown new file mode 100755 index 0000000..b5b6021 --- /dev/null +++ b/compojure-3.2/README.markdown @@ -0,0 +1,62 @@ +Compojure is an open source web framework for the [Clojure](http://clojure.org) +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](http://clojure.org) programming language +* The [Clojure-Contrib](http://code.google.com/p/clojure-contrib/) library +* A Java servlet container like [Jetty](http://www.mortbay.org/jetty/) +* Apache Commons [FileUpload](http://commons.apache.org/fileupload), + [IO](http://commons.apache.org/io) and + [Codec](http://commons.apache.org/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](http://en.wikibooks.org/wiki/Compojure). + +There is also a rough draft of a [Compojure Tutorial](http://groups.google.com/group/compojure/browse_thread/thread/3c507da23540da6e) +available to read. + +Community +--------- + +The [Compojure Group](http://groups.google.com/group/compojure) 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](http://ericlavigne.wordpress.com/2008/12/18/compojure-on-a-slicehost-vps/) +* [Using PostgreSQL with Compojure](http://ericlavigne.wordpress.com/2008/12/28/using-postgresql-with-compojure/) +* [Compojure security: authentication and authorization](http://ericlavigne.wordpress.com/2009/01/04/compojure-security-authentication-and-authorization/) |
