Skip to content
This repository

Web application environment for Common Lisp

Octocat-spinner-32 src Make Clack.Middleware.Csrf allow to use for application/json. April 03, 2014
Octocat-spinner-32 t Delete clack.util:namespace. February 03, 2014
Octocat-spinner-32 tmp forgot to add "tmp" directory, using clack.test.suite. January 26, 2011
Octocat-spinner-32 .gitignore Fix JSON middleware to recognize Content-Type that specifies a charse… October 19, 2013
Octocat-spinner-32 README.markdown Improved English writing February 09, 2014
Octocat-spinner-32 clack-app-route.asd fixed Clack.App.Route. it seems it has been completely broken, not only March 20, 2012
Octocat-spinner-32 clack-handler-apache.asd (refs #33) got rid of dependence on metabang-bind. February 21, 2012
Octocat-spinner-32 clack-handler-fcgi.asd added Clack.Handler.Fcgi. March 17, 2012
Octocat-spinner-32 clack-handler-hunchentoot.asd Clack.Handler.Hunchentoot v12.03. (bugfix) March 20, 2012
Octocat-spinner-32 clack-handler-toot.asd Add Keen as an author of Clack.Handler.Toot. January 10, 2014
Octocat-spinner-32 clack-middleware-auth-basic.asd moved Clack.Middleware.Auth.Basic to contrib. March 11, 2012
Octocat-spinner-32 clack-middleware-clsql.asd rewrote using CL-Syntax. November 04, 2011
Octocat-spinner-32 clack-middleware-csrf.asd rewrote using CL-Syntax. November 04, 2011
Octocat-spinner-32 clack-middleware-dbi.asd fixed Clack.Middleware.Dbi. March 23, 2012
Octocat-spinner-32 clack-middleware-oauth.asd (refs #33) got rid of dependence on metabang-bind. February 21, 2012
Octocat-spinner-32 clack-middleware-postmodern.asd New middleware clack.middleware.postmodern June 25, 2012
Octocat-spinner-32 clack-middleware-rucksack.asd rewrote using CL-Syntax. November 04, 2011
Octocat-spinner-32 clack-test.asd moved Clack.Test to contrib. March 11, 2012
Octocat-spinner-32 clack.asd Add Clack.Http-Status. The package exports 2 symbols, *http-status* (… October 16, 2013
Octocat-spinner-32 my-projects rewrote using CL-Syntax. November 04, 2011
Octocat-spinner-32 t-clack-middleware-csrf.asd Made test systems clean by using CL-TEST-MORE. August 31, 2013
Octocat-spinner-32 t-clack.asd Add :test-file for Clack.Handler.Toot. January 10, 2014
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!")))))

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

Copyright

Copyright (c) 2011-2014 Eitarow Fukamachi

Contributors

License

Licensed under the LLGPL License.

Something went wrong with that request. Please try again.