Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the wuwei Reference Manual, version 0.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 15:31:05 2020 GMT+0.
• Introduction | What wuwei is all about | |
• Systems | The systems documentation | |
• Modules | The modules documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
WuWei is a toolkit for building Ajax web pages and web sites in Common Lisp. It's designed to be light-weight, a toolkit rather than a platform.
Wu wei is Chinese for "effortless doing".
May be run at the demo site: http://wuwei.name
For a real application, take a look at BioCyc Smart Tables.
WuWei was written primarily by Mike Travers, originally under the sponsorship of CollabRx, Inc. Some bits of it are derived from BioBike.
Easiest using QuickLisp:
Install QuickLisp from http://www.quicklisp.org/
Tell the install system where to find wuwei and mtlisp:
(push #p"/misc/repos/wuwei/" asdf:central-registry) (push #p"/misc/repos/mtlisp/")
(OpenMCL only) Unfortunately there are some incompatabilities with the distributed version of Portable AllegroServe and OpenMCL, so:
download my patched version of aserve
From that directory:
(load "acl-compat/acl-compat.asd") (load "aserve/aserve.asd")
Load everything:
(ql:quickload "wuwei") (ql:quickload "wuwei-examples") ; if wanted
Start the server
(net.aserve:start :port 3333)
Next: Modules, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The wuwei system |
Mike Travers <mt@hyperphor.com>
MIT
Tools for developing Ajaxy web applications
WuWei is a toolkit for building Ajax web pages and web sites in Common Lisp. It’s designed to be light-weight, a toolkit rather than a platform. Features include: Continuation-based AJAX user interfaces; Server-side DOM operations (add/remove elements, visual fades, drag and drop); High-level interfaces to in-place-editing and autocomplete widgets; Login and session management
0.1
wuwei.asd (file)
Modules are listed depth-first from the system components tree.
• The wuwei/src module |
wuwei.asd (file)
wuwei (system)
src/
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files | ||
• Static files |
Next: Static files, Previous: Files, Up: Files [Contents][Index]
Next: The wuwei/src/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
wuwei.asd
wuwei (system)
Next: The wuwei/src/htmlgen-patch․lisp file, Previous: The wuwei․asd file, Up: Lisp files [Contents][Index]
Next: The wuwei/src/cl-json-patches․lisp file, Previous: The wuwei/src/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
src (module)
src/htmlgen-patch.lisp
Next: The wuwei/src/config․lisp file, Previous: The wuwei/src/htmlgen-patch․lisp file, Up: Lisp files [Contents][Index]
htmlgen-patch.lisp (file)
src (module)
src/cl-json-patches.lisp
Next: The wuwei/src/net-utils․lisp file, Previous: The wuwei/src/cl-json-patches․lisp file, Up: Lisp files [Contents][Index]
cl-json-patches.lisp (file)
src (module)
src/config.lisp
Next: The wuwei/src/web․lisp file, Previous: The wuwei/src/config․lisp file, Up: Lisp files [Contents][Index]
config.lisp (file)
src (module)
src/net-utils.lisp
Next: The wuwei/src/ajax-render․lisp file, Previous: The wuwei/src/net-utils․lisp file, Up: Lisp files [Contents][Index]
net-utils.lisp (file)
src (module)
src/web.lisp
Next: The wuwei/src/web2․lisp file, Previous: The wuwei/src/web․lisp file, Up: Lisp files [Contents][Index]
web.lisp (file)
src (module)
src/ajax-render.lisp
Next: The wuwei/src/wu․lisp file, Previous: The wuwei/src/ajax-render․lisp file, Up: Lisp files [Contents][Index]
ajax-render.lisp (file)
src (module)
src/web2.lisp
select-field (function)
Next: The wuwei/src/debug-utils․lisp file, Previous: The wuwei/src/web2․lisp file, Up: Lisp files [Contents][Index]
web2.lisp (file)
src (module)
src/wu.lisp
wu-conversation-1 (macro)
Next: The wuwei/src/session․lisp file, Previous: The wuwei/src/wu․lisp file, Up: Lisp files [Contents][Index]
wu.lisp (file)
src (module)
src/debug-utils.lisp
Next: The wuwei/src/error․lisp file, Previous: The wuwei/src/debug-utils․lisp file, Up: Lisp files [Contents][Index]
debug-utils.lisp (file)
src (module)
src/session.lisp
Next: The wuwei/src/upload․lisp file, Previous: The wuwei/src/session․lisp file, Up: Lisp files [Contents][Index]
session.lisp (file)
src (module)
src/error.lisp
Next: The wuwei/src/async․lisp file, Previous: The wuwei/src/error․lisp file, Up: Lisp files [Contents][Index]
error.lisp (file)
src (module)
src/upload.lisp
parse-upload-form (function)
Next: The wuwei/src/autocomplete․lisp file, Previous: The wuwei/src/upload․lisp file, Up: Lisp files [Contents][Index]
upload.lisp (file)
src (module)
src/async.lisp
async (macro)
Next: The wuwei/src/dom-objects․lisp file, Previous: The wuwei/src/async․lisp file, Up: Lisp files [Contents][Index]
async.lisp (file)
src (module)
src/autocomplete.lisp
Next: The wuwei/src/eval-server․lisp file, Previous: The wuwei/src/autocomplete․lisp file, Up: Lisp files [Contents][Index]
autocomplete.lisp (file)
src (module)
src/dom-objects.lisp
Next: The wuwei/src/oauth2․lisp file, Previous: The wuwei/src/dom-objects․lisp file, Up: Lisp files [Contents][Index]
dom-objects.lisp (file)
src (module)
src/eval-server.lisp
Next: The wuwei/src/heroku․lisp file, Previous: The wuwei/src/eval-server․lisp file, Up: Lisp files [Contents][Index]
eval-server.lisp (file)
src (module)
src/oauth2.lisp
Previous: The wuwei/src/oauth2․lisp file, Up: Lisp files [Contents][Index]
oauth2.lisp (file)
src (module)
src/heroku.lisp
Previous: Lisp files, Up: Files [Contents][Index]
• The wuwei/wuwei.asd file |
Previous: Static files, Up: Static files [Contents][Index]
wuwei (system)
wuwei.asd
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The wuwei package |
package.lisp (file)
wu
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 special variables | ||
• Exported macros | ||
• Exported functions | ||
• Exported generic functions | ||
• Exported classes |
Next: Exported macros, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
ajax-render.lisp (file)
session.lisp (file)
config.lisp (file)
ajax-render.lisp (file)
config.lisp (file)
ajax-render.lisp (file)
Next: Exported functions, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
ajax-render.lisp (file)
async.lisp (file)
session.lisp (file)
autocomplete.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
error.lisp (file)
error.lisp (file)
error.lisp (file)
Combines WITH-HTTP-RESPONSE and WITH-HTTP-BODY
error.lisp (file)
session.lisp (file)
session.lisp (file)
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
Generate an HTML autocompletion field. Arguments below (all except completions-url are optional)
ID - the HTML ID of the element
NAME - the name of the field
VALUE - the current value of the field
TEXTAREA - T to use a multi-line textarea
OPTIONS - additional options to pass to the scriptaculous Ajax.Autocompleter object.
INPUT-OPTIONS - options to pass to the input or textarea tag (eg ’(("tokens" . ("," #Newline))))
COMPLETIONS-GENERATOR - a procedure that takes a prefix and returns a list of (id . name) pairs
EMBEDDED-HTML - T if strings can contain HTML markup
COMPLETIONS-URL - a URL that supplies the completions. Either this or COMPLETIONS-GENERATOR must be supplied, but not both
ON-SELECTED - a function that is called with the value, value string, and id of the selected option
UPDATE - the HTML ID of the autocompletion box
SCROLL? - If an integer, add scroll bar if more completions than this (default to 30)
SPINNER? - T to show a spinner while fetching completions
autocomplete.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
error.lisp (file)
session.lisp (file)
session.lisp (file)
dom-objects.lisp (file)
error.lisp (file)
dom-objects.lisp (file)
heroku.lisp (file)
ajax-render.lisp (file)
autocomplete.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
session.lisp (file)
upload.lisp (file)
ajax-render.lisp (file)
Generate a remote function (javascript Ajax call)
ex: (remote-function "/new-chunk" :params ‘(:user ,user :type (:raw ,(format nil "$(~A).value" selector-id))))
returns:
new Ajax.Request(’/new-chunk’, {"asynchronous":true,"parameters":{"user":"mt","type":$(selector23).value}}); return false;
:form If t, serialize the surrounding form; if a string serialise the form with that name; else use params
:params List of (:key1 value1 ...), ignored if :form is t
:confirm Ask user for confirmation first (value is the message)
:complete Javascript to execute when action completes
:success as :complete, but on success only
:failure as :complete, but on failure only
:before Javascript to run before the Ajax request
:after Javascript to run after the Ajax request
:spinner The ID of an elt, a spinner will be inserted after the elt before the Ajax request and removed when completed
:in-function?
:eval-scripts?
:stop-propagation? Stop propagation of events to parents. Forces :in-function? to be nil
:updater? Make an Ajax.Updater object rather than an Ajax.Request; value is dom id of item to be updated
:periodic? Make an Ajax.PeriodicalUpdater, updater? must be non-nil
ajax-render.lisp (file)
error.lisp (file)
Generate an HTML select field.
If URL is given, trigger off of the mouseup event
OPTIONS is a list of (value name [title]) tuples
config.lisp (file)
ajax-render.lisp (file)
heroku.lisp (file)
Next: Exported classes, Previous: Exported functions, Up: Exported definitions [Contents][Index]
automatically generated reader method
dom-objects.lisp (file)
automatically generated writer method
dom-objects.lisp (file)
dom-objects.lisp (file)
dom-objects.lisp (file)
This method should do the actual HTML rendering of the object
dom-objects.lisp (file)
dom-objects.lisp (file)
dom-objects.lisp (file)
automatically generated reader method
dom-objects.lisp (file)
dom-objects.lisp (file)
dom-objects.lisp (file)
Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
dom-objects.lisp (file)
html-element (class)
element-render (method)
Initarg | Value |
---|---|
:dom-id | "flash" |
dom-objects.lisp (file)
standard-object (class)
:dom-id
html-element-dom-id (generic function)
:parent
html-element-parent (generic function)
dom-objects.lisp (file)
html-element (class)
list-paging-mixin (class)
:page-size
25
0
current-page (generic function)
(setf current-page) (generic function)
:show-all?
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables | ||
• Internal macros | ||
• Internal functions | ||
• Internal generic functions | ||
• Internal classes |
Next: Internal macros, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
oauth2.lisp (file)
ajax-render.lisp (file)
error.lisp (file)
upload.lisp (file)
config.lisp (file)
config.lisp (file)
dom-objects.lisp (file)
dom-objects.lisp (file)
dom-objects.lisp (file)
error.lisp (file)
error.lisp (file)
ajax-render.lisp (file)
oauth2.lisp (file)
oauth2.lisp (file)
oauth2.lisp (file)
oauth2.lisp (file)
oauth2.lisp (file)
oauth2.lisp (file)
oauth2.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
session.lisp (file)
config.lisp (file)
session.lisp (file)
debug-utils.lisp (file)
ajax-render.lisp (file)
Next: Internal functions, Previous: Internal special variables, Up: Internal definitions [Contents][Index]
ajax-render.lisp (file)
ajax-render.lisp (file)
debug-utils.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
session.lisp (file)
debug-utils.lisp (file)
Next: Internal generic functions, Previous: Internal macros, Up: Internal definitions [Contents][Index]
oauth2.lisp (file)
oauth2.lisp (file)
ajax-render.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
ajax-render.lisp (file)
oauth2.lisp (file)
error.lisp (file)
error.lisp (file)
ajax-render.lisp (file)
debug-utils.lisp (file)
ajax-render.lisp (file)
eval-server.lisp (file)
eval-server.lisp (file)
session.lisp (file)
dom-objects.lisp (file)
session.lisp (file)
oauth2.lisp (file)
oauth2.lisp (file)
debug-utils.lisp (file)
net-utils.lisp (file)
net-utils.lisp (file)
ajax-render.lisp (file)
session.lisp (file)
error.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
error.lisp (file)
error.lisp (file)
session.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
ajax-render.lisp (file)
error.lisp (file)
session.lisp (file)
session.lisp (file)
eval-server.lisp (file)
ajax-render.lisp (file)
session.lisp (file)
upload.lisp (file)
ajax-render.lisp (file)
debug-utils.lisp (file)
session.lisp (file)
ajax-render.lisp (file)
error.lisp (file)
ajax-render.lisp (file)
session.lisp (file)
net-utils.lisp (file)
Next: Internal classes, Previous: Internal functions, Up: Internal definitions [Contents][Index]
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
automatically generated reader method
dom-objects.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
session.lisp (file)
automatically generated reader method
session.lisp (file)
automatically generated reader method
session.lisp (file)
session.lisp (file)
session.lisp (file)
automatically generated reader method
session.lisp (file)
session.lisp (file)
dom-objects.lisp (file)
session.lisp (file)
Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
session.lisp (file)
serialized-session-store (class)
(mt:string+ wuwei:*system-name* "-session")
session.lisp (file)
session-store (class)
(make-hash-table :test (function eq))
dom-objects.lisp (file)
paging-mixin (class)
:list
session.lisp (file)
session-store (class)
cookie-session-store (class)
(find-package :wuwei)
session.lisp (file)
standard-object (class)
session-variables (generic function)
session.lisp (file)
standard-object (class)
:symbol
session-variable-symbol (generic function)
:reader
:writer
:store
:initform
session-variable-initform (generic function)
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 L M S W |
---|
Jump to: | F L M S W |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | (
A B C D E F G H I J L M N P R S T U V W |
---|
Jump to: | (
A B C D E F G H I J L M N P R S T U V W |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
C D I L P R S V W |
---|
Jump to: | *
C D I L P R S V W |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C F H I L P S W |
---|
Jump to: | C F H I L P S W |
---|