xajax: Ajax Made Simple
I'm one of the programmers who have heard of Ajax, learnt theorectically how Ajax works, but haven't really produced any Ajax-powered site. If you are somebody like me, I recommend you to take a look at xajax.
xajax is an open source PHP class library that allows you to easily create powerful, web-based, Ajax applications using HTML, CSS, JavaScript, and PHP. Applications developed with xajax can asynchronously call server-side PHP functions and update content without reloading the page.
Looking at the samples in the site, I find that it's actually a lot simpler to write and organize your Ajax programs by utilizing the class. Also, with the script, you don't have to worry about Javascript codes.
All you need to write are the following PHP scripts:
- A server file to define all the functions that you might require.
- A common file to register all your functions.
- An user input form in plain HTML with a few lines of common Javascript.
If you are not a beginner in Ajax, I hope you would give some expert comments on the script.
If my article helped you solved your problem, consider buy me a beer!
Share this article: del.icio.us | digg it
Tags: Ajax
Related posts: