xajax is an open source PHP class library implementation of AJAX that allows developers 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
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.