Introduction
PHP AJAX is a framework for write ajax applications without write a line of Javascript, only writing PHP classes.
Full compatible for PHP 4 and greater.
HOW PHPAJAX WORKs
The only think you need to do for have ajax application with phpajax is inherit the "phpajax" class then override the method main, there you need to put the action to do.
Optionally you can override the method input, for read inputs from the client, and loading, for set what action do while the ajax request is in process.
class ajax_app extends phpajax {
function input() {
}
function loading() {
}
function main() {
}
}
Then in your HTML Code you need to a javascript function with the same name of the phpajax class.
<a href="#" onclick="ajax_app()">Trigger Ajax</a>
Actual work
The project is still in an beta state, and soon it will uploaded to the phpclasses site. Right now you can see the project repository. You can write us to info (at) phpajax (dot) org asking us the source if you have problem to download from our repository.