Web application environment for Common Lisp
Pull request Compare This branch is 496 commits behind fukamachi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
t
tmp
.gitignore
README.markdown
clack-app-route.asd
clack-handler-apache.asd
clack-handler-fcgi.asd
clack-handler-hunchentoot.asd
clack-middleware-auth-basic.asd
clack-middleware-clsql.asd
clack-middleware-csrf.asd
clack-middleware-dbi.asd
clack-middleware-oauth.asd
clack-middleware-postmodern.asd
clack-middleware-rucksack.asd
clack-test.asd
clack.asd
my-projects
t-clack-middleware-csrf.asd
t-clack.asd

README.markdown

Clack - Web Application Environment for Common Lisp

Clack is a web application environment for Common Lisp inspired by Python's WSGI and Ruby's Rack. Your awesome framework should base on this.

Usage

(defpackage simple-app
  (:use :cl
        :clack))
(in-package :simple-app)

(defvar *handler*
    (clackup
      #'(lambda (env)
          '(200 (:content-type "text/plain") ("Hello, Clack!")))))

Now access http://localhost:5000/ and Clack should show you "Hello, Clack!".

To stop the server, execute (clack:stop *handler*).

Installation

Clack is available on Quicklisp.

(ql:quickload :clack)

Documentation

Server

Middleware

Middleware is one of the Clack Component. It takes another Application and runs it.

Bundle Middleware

Contrib Middleware

Author

Copyright

Copyright (c) 2011 Eitarow Fukamachi

Contributors

License

Licensed under the LLGPL License.