xajax

      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.

      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.

      ↑Jump back a section

      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+. [1]

      ↑Jump back a section

      External links

      ↑Jump back a section

      Read in another language

      This page is available in 5 languages

      Last modified on 1 March 2013, at 01:20