The lifecycle of a Jaxon request
The Jaxon library receives the request, and calls the PHP class, passing the parameters received.
The Jaxon class defined by the developer returns a
Responseobject in which it has recorded a set of commands to run in the browser.
- The Jaxon library sends back this response to the browser, which automatically executes all commands it contains.
The steps 2, 3 and 5 are completely managed by Jaxon, and transparent to the developer. Its only role is to write the PHP functions which define the content and the presentation of the web page.
At the end, a single Ajax call allows to execute a large set of actions, defined in the application with PHP, in a web page.