Xajax

From HandWiki - Reading time: 2 min

Short description: Open source PHP class library implementation of Ajax

xajax is an open source PHP class library implementation of Ajax that gives developers the ability to create 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.

Xajax has not been updated since 2014,[1] it is dead project.

Unlike some other Ajax frameworks, xajax is designed to allow the programmer to have no prior knowledge of JavaScript.

System requirements

Server-side xajax runs on any PHP 4.3.x and PHP 5.x Apache or IIS server.

Client-side xajax runs on (but is not limited to) Internet Explorer 6+, Firefox, Opera 8.0+, Safari 3.0.

Limitations of xajax

Currently, xajax has no way to transfer data from client to server other than using XML. There are plans to change xajax to allow programmers to use JSON or any other means of communication.

Workaround is to use serialize function of PHP and unserialize function from php.js namespaced Javascript PHP port.

It is possible to send JSON using:

<?php  $response->script('example ='.json_encode($example)); ?>

As of Xajax 0.6 beta1 JSON support has been added as well as removing legacy functions not needed since development now focusses on PHP 5.3+.[2]

See also

  • Ajax framework

References

  1. https://github.com/Xajax/Xajax





Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Xajax
5 views | Status: cached on July 18 2024 10:47:03
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF