Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xajax alternative?

Tags:

ajax

php

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?

like image 842
TheOnly92 Avatar asked Feb 28 '23 17:02

TheOnly92


2 Answers

A new alternative to Xajax is sijax. While official support is listed under the python module, there is a github hosted project of sijax. It is a PHP library that integrates JQuery and xajax object mentality to allow for a quick and simple usecase but a powerful backend.

https://github.com/spantaleev/sijax

like image 62
Jonneh Avatar answered Mar 08 '23 01:03

Jonneh


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.

like image 37
Donny Kurnia Avatar answered Mar 08 '23 03:03

Donny Kurnia