PHP and Ajax

PHP and Ajax

by Josep M. Fontana -
Number of replies: 2
Since people are starting to talk about Ajax in Moodle, I thought some of you might
be interested in this:

http://www.xajaxproject.org/

What is 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.


Josep M.
Average of ratings: -
In reply to Josep M. Fontana

Re: PHP and Ajax

by Thom Stricklin -
Normally I'm all for PHP-integrated solutions, but looking at xajax (months ago) I wasn't impressed that it was very useful.  I think JavaScript is enough of a different beast that it almost needs more careful attention to be understood correctly--especially the JavaScript required for AJAX.

I've had good luck with a non-platform-specific AJAX framework called Prototype: http://prototype.conio.net/

Gets a lot of Ruby-on-Rails attention, but I've worked with it in PHP with pretty cool results.