TheOnly92 TheOnly92 - 2 months ago 31
PHP Question

xajax alternative?

I really love the simplicity of xajax calls from PHP, however xajax project seems dead by now... Is there any nice alternative or equivalent to xajax which is actively in development?


Well, in all my project, I write all javascript code using jQuery. It's a very powerful javascript library that have complete arsenal of DOM manipulation and AJAX request code build-in it.

There are several attempt to encapsulated jQuery into php, so the jQuery code can be called inside php code, and the corresponding jQuery code will be included into page output. But for myself, I prefer to write all javascript code inside the script tags in the view file (I use CodeIgniter).

jQuery is actively developed, and the latest version (1.4) is just launched a few days ago.