Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the ht-simple-ajax Reference Manual, version 0.5, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 13:44:43 2020 GMT+0.
• Introduction | What ht-simple-ajax is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
Another Ajax library for Hunchentoot, a web server written in Common Lisp.
See http://martin-loetzsch.de/ht-simple-ajax/ for details.
Initial release
Added demo
Renamed ajax_call_uri
to ajax_call
Demo uses hunchentoot:easy-acceptor
instead of hunchentoot:acceptor
Bug fix for a problem when the *print-case*
is set to :downcase
(provided by Ben Hyde).
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The ht-simple-ajax system |
Martin Loetzsch
BSD-style
simple AJAX for Hunchentoot
See http://martin-loetzsch.de/ht-simple-ajax/
0.5
hunchentoot
ht-simple-ajax.asd (file)
ht-simple-ajax.lisp (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The ht-simple-ajax.asd file | ||
• The ht-simple-ajax/ht-simple-ajax.lisp file |
Next: The ht-simple-ajax/ht-simple-ajax․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
ht-simple-ajax.asd
ht-simple-ajax (system)
Previous: The ht-simple-ajax․asd file, Up: Lisp files [Contents][Index]
ht-simple-ajax (system)
ht-simple-ajax.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The ht-simple-ajax package |
ht-simple-ajax.lisp (file)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported macros | ||
• Exported functions | ||
• Exported classes |
Next: Exported functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
Declares a defun that can be called from a client page. Example: (defun-ajax func1 (arg1 arg2) (*ajax-processor*) (do-stuff))
ht-simple-ajax.lisp (file)
Next: Exported classes, Previous: Exported macros, Up: Exported definitions [Contents][Index]
Creates a hunchentoot dispatcher for an ajax processor
ht-simple-ajax.lisp (file)
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
ht-simple-ajax.lisp (file)
Previous: Exported functions, Up: Exported definitions [Contents][Index]
Maintains a list of lisp function that can be called from a client page.
ht-simple-ajax.lisp (file)
standard-object (class)
Maps the symbol names of the exported functions to their symbols
hash-table
(make-hash-table :test (function equal))
lisp-fns (generic function)
(setf lisp-fns) (generic function)
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))
js-fns (generic function)
(setf js-fns) (generic function)
The uri which is used to handle ajax request
string
:server-uri
"/ajax"
server-uri (generic function)
(setf server-uri) (generic function)
The http content type that is sent with each response
string
:content-type
"text/xml; charset=\"utf-8\""
content-type (generic function)
(setf content-type) (generic function)
The format for the character output stream
flexi-streams::external-format
:reply-external-format
hunchentoot::+utf-8+
reply-external-format (generic function)
(setf reply-external-format) (generic function)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal functions | ||
• Internal generic functions |
Next: Internal generic functions, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
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.
ht-simple-ajax.lisp (file)
helper function for making ’foo_bar_’ out of ’foo-bar?’
ht-simple-ajax.lisp (file)
Previous: Internal functions, Up: Internal definitions [Contents][Index]
Maps the symbol names of the exported functions to
a javascript code that can call the function from
within the client page
ht-simple-ajax.lisp (file)
Maps the symbol names of the exported functions to their symbols
ht-simple-ajax.lisp (file)
The uri which is used to handle ajax request
ht-simple-ajax.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F H L |
---|
Jump to: | F H L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | (
C D F G J L M S |
---|
Jump to: | (
C D F G J L M S |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | C J L R S |
---|
Jump to: | C J L R S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | A C H P S |
---|
Jump to: | A C H P S |
---|