AjaxCore is open source project released
under Apache License V2.0. Mauro Niewolski, author of the framework,
supplied some examples for the common binding options provided with the
framework on the release, they are :
The key is, just make a class that extends from "AjaxCore" and define a function to handle Ajax requests, and then bind an HTML
object to that function upon a JavaScript event ( like onClick and so
on..), you can even assign several JavaScript events to the same PHP function with no hassle. Also, If you have to send some HTML elements values to the PHP
function, it's as simple as type the ID of the html element and then
retrive it on php with $this->request['elementName'] method, you can
even send static values with no HTML ID by appending a (' _ ') prefix to the element, as _XXX=YYY , whether XXX represents variable name, and YYY value.
You can find a live example using AJAXCore Framework. Download AJAXCore available from sourceforge project's page.