|
Revision 2417, 407 bytes
(checked in by hhubner, 1 year ago)
|
Snapshot the port of the BKNR web framework to Hunchentoot.
In the process, the request argument that many of functions had has been
removed. Instead, the request is accessed through the dynamic environment,
which is the default mode for Hunchentoot.
This commit works with SBCL and cmucl, but I am now workin with SBCL as
Slime works way better there, in particular for debugging errors in
hunchentoot handlers.
All BKNR handlers are registered in the BKNR.WEB::*HANDLERS* special variable.
BKNR registers only one dispatcher in Hunchtentoots *DISPATCHER-TABLE* that
scans the BKNR handlers for a match. This is done to enhance debugability,
as the *HANDLERS* table contains PAGE-HANDLER objects that carry information
about their path etc.
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
author date id revision
|
| Line | |
|---|
| 1 |
(in-package :cl-user) |
|---|
| 2 |
|
|---|
| 3 |
(defpackage :bknr.impex |
|---|
| 4 |
(:use :cl |
|---|
| 5 |
:cxml |
|---|
| 6 |
:closer-mop |
|---|
| 7 |
:bknr.utils |
|---|
| 8 |
:bknr.xml |
|---|
| 9 |
:bknr.indices) |
|---|
| 10 |
#+cmu |
|---|
| 11 |
(:shadowing-import-from :common-lisp #:subtypep #:typep) |
|---|
| 12 |
|
|---|
| 13 |
(:export #:xml-class |
|---|
| 14 |
#:parse-xml-file |
|---|
| 15 |
#:write-to-xml |
|---|
| 16 |
#:xml-class-importer |
|---|
| 17 |
|
|---|
| 18 |
#:with-xml-export |
|---|
| 19 |
#:with-xml-export* |
|---|
| 20 |
#:write-to-xml |
|---|
| 21 |
|
|---|
| 22 |
#:create-instance |
|---|
| 23 |
#:set-slot-value)) |
|---|