This is the ht-simple-ajax Reference Manual, version 0.5, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:23:14 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
ht-simple-ajax
simple AJAX for Hunchentoot
Martin Loetzsch
BSD-style
See http://martin-loetzsch.de/ht-simple-ajax/
0.5
hunchentoot
(system).
ht-simple-ajax.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
ht-simple-ajax/ht-simple-ajax.asd
ht-simple-ajax
(system).
ht-simple-ajax/ht-simple-ajax.lisp
ht-simple-ajax
(system).
ajax-processor
(class).
(setf content-type)
(writer method).
content-type
(reader method).
create-ajax-dispatcher
(function).
defun-ajax
(macro).
generate-prologue
(function).
(setf reply-external-format)
(writer method).
reply-external-format
(reader method).
call-lisp-function
(function).
js-fns
(reader method).
(setf js-fns)
(writer method).
lisp-fns
(reader method).
(setf lisp-fns)
(writer method).
make-js-symbol
(function).
server-uri
(reader method).
(setf server-uri)
(writer method).
Packages are listed by definition order.
ht-simple-ajax
common-lisp
.
hunchentoot
.
ajax-processor
(class).
create-ajax-dispatcher
(function).
defun-ajax
(macro).
generate-prologue
(function).
call-lisp-function
(function).
js-fns
(generic reader).
(setf js-fns)
(generic writer).
lisp-fns
(generic reader).
(setf lisp-fns)
(generic writer).
make-js-symbol
(function).
server-uri
(generic reader).
(setf server-uri)
(generic writer).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Declares a defun that can be called from a client page. Example: (defun-ajax func1 (arg1 arg2) (*ajax-processor*) (do-stuff))
Creates a hunchentoot dispatcher for an ajax processor
Creates a <script> ... </script> html element that contains all the client-side javascript code for the ajax communication. Include this script in the <head> </head> of each html page
ajax-processor
)) ¶The http content type that is sent with each response
hunchentoot
.
ajax-processor
)) ¶The http content type that is sent with each response
hunchentoot
.
ajax-processor
)) ¶The format for the character output stream
hunchentoot
.
ajax-processor
)) ¶The format for the character output stream
hunchentoot
.
Maintains a list of lisp function that can be called from a client page.
Maps the symbol names of the exported functions to their symbols
hash-table
(make-hash-table :test (function equal))
Maps the symbol names of the exported functions to
a javascript code that can call the function from
within the client page
hash-table
(make-hash-table :test (function equal))
The uri which is used to handle ajax request
string
"/ajax"
:server-uri
The http content type that is sent with each response
hunchentoot
.
string
"text/xml; charset=\"utf-8\""
:content-type
The format for the character output stream
hunchentoot
.
flexi-streams::external-format
hunchentoot::+utf-8+
:reply-external-format
This is called from hunchentoot on each ajax request. It parses the parameters from the http request, calls the lisp function and returns the response.
helper function for making ’foo_bar_’ out of ’foo-bar?’
ajax-processor
)) ¶ajax-processor
)) ¶Maps the symbol names of the exported functions to
a javascript code that can call the function from
within the client page
ajax-processor
)) ¶ajax-processor
)) ¶Maps the symbol names of the exported functions to their symbols
ajax-processor
)) ¶ajax-processor
)) ¶The uri which is used to handle ajax request
Jump to: | (
C D F G J L M R S |
---|
Jump to: | (
C D F G J L M R S |
---|
Jump to: | C J L R S |
---|
Jump to: | C J L R S |
---|
Jump to: | A C F H P S |
---|
Jump to: | A C F H P S |
---|