Caveman - Web Application Framework for Common Lisp

Caveman is a Web Application Framework for Common Lisp, based on Clack.

Most of Common Lisp WAF adopt Continuations-based development, but Caveman adopts MVC-style architecture.

Getting started

(caveman.skeleton:generate :myapp)

Then a project skeleton is generated to current directory.

(ql:quickload :myapp)
(myapp:start)

Now you can access to http://localhost:8080/ and then Caveman may show you "Hello, Caveman!".

Action

;; Don't forget calling this.
(cl-annot:enable-annot-syntax)

@url GET "/"
(defun index (params)
  @ignore params
  (render #'myapp.view:index))

@url GET "/member/:id/"
(defun member-profile (params)
  (render #'myapp.view:member-profile (getf params :id)))

View

Dependency

Author

Copyright

Copyright (c) 2011 Eitarow Fukamachi

License

Licensed under the LLGPL License.