jeffma / clack

Web application environment for Common Lisp

Home Page:clacklisp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clack - Web Application Environment for Common Lisp

Build Status Coverage Status

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

(ql:quickload :clack)

Documentation

Server

Author

Copyright

Copyright (c) 2011-2014 Eitaro Fukamachi & contributors

License

Licensed under the LLGPL License.

About

Web application environment for Common Lisp

clacklisp.org


Languages

Language:Common Lisp 99.8%Language:Nginx 0.2%