AjaxStub is an API written in Python that generates JavaScript stubs
in your web pages. It relieves you of having to write AJAX code in
your JavaScript so you can concentrate on your project not the communication
process. Using AjaxStub in your web pages is a simple matter of a
few steps.
- You instantiate AjaxStub passing it an argument.
- Register your public API.
- Send the initial part of your HTML code.
- Dispatch the AJAX code from AjaxStub.
- Send your JavaScript.
- Send the remaining HTML code.
The remainder of this document will discuss how the internals of AjaxStub
work. Examples will be provided for the objects needed to implement
AjaxStub in your code.
Carl J. Nobile
2007-08-02