clack

2014-07-13

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!")))))

Open your web browser and go to http://localhost:5000/. You should get "Hello, Clack!".

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

Installation

Clack is available on Quicklisp.

(ql:quickload :clack)

Documentation

Server

Middleware

Middleware is a type of Clack components, which modifies the behavior of a Clack application without modifing the Clack application's code.

Bundle Middleware

Contrib Middleware

Author

  • Eitarow Fukamachi (e.arrows@gmail.com)

Copyright (c) 2011-2014 Eitarow Fukamachi

Contributors

  • https://github.com/fukamachi/clack/graphs/contributors

License

Licensed under the LLGPL License.

Author
Eitarow Fukamachi, Karl Heinrichmeyer
Licenses
LLGPL, BSD2
Categories
LLGPL, web framework