Skip to content
A common lisp web application framework
Common Lisp JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs
examples
public
sml
src
tests
.gitignore
CHANGELOG.markdown
README.ja.markdown
README.markdown
web4r-tests.asd
web4r.asd

README.markdown

About

web4r is a continuations-based web application framework written in Common Lisp. The goal of web4r is enabling users to develop web applications with the shortest codes. (The shortness is about a number of tokens.)

The "Hello World" Application:

(require :web4r)
(use-package :web4r)

(defpage hello (:get (name "world"))
  [p "Hello, " name])

(start-server)

; wget http://localhost:8080/hello => '<p>Hello, world</p>'
; wget http://localhost:8080/hello?name=tomo => '<p>Hello, tomo</p>'

Arc Challenge:

(defpage said ()
  (form/cont (a/cont [p "You said: " (last-post "foo")] "click here")
   (input-text "foo")))

Blog Application:

(ele:open-store *example-bdb*)

(defpclass blog ()
  ((title :length 50 :index t)
   (body  :length 3000)))

(genpages blog)

Documentation

Download
Install
Tutorial
API Documentation

Note: These documents are included under the web4r/docs directory

Something went wrong with that request. Please try again.