JAVASCRIPT » Open Source Scripts and Programs

  Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg

AJASON


AJASON is a PHP 5 library and JavaScript client for the Web technology called AJAX. AJAX permits data to be fetched asynchronously without the need for reloading the Web page and thus allows the development of interactive GUI-like Web applications. JSON is a lightweight data interchange format which is used by AJASON to exchange data between server and client. AJASON features the ability to exchange complex data types and client-side error reporting for server-side AJASON errors.
Abstract
AJASON is a PHP 5 library and JavaScript client for the upcoming Web technology called AJAX. AJAX permits data to be fetched asynchronously without the need for reloading the Web page and thus allows the development of interactive GUI-like Web applications. JSON is a lightweight data interchange format which is used by AJASON to exchange data between server and client.

The key features of AJASON are:
  • Fully object oriented code in PHP 5 and JavaScript
  • Call PHP functions and object methods from JavaScript asynchronously
  • Exchange even complex data types like arrays and objects (precisely object properties) between server and client
  • Use JavaScript callback functions to process server responses
  • Client side error reporting for server side AJASON errors
  • Open source released under the GNU GPL
Requirements
  • Web server with PHP 5 module
  • JavaScript enabled browser, preferably a current Mozilla based browser
Testing
AJASON 0.9 has been successfully tested with Mozilla Firefox 1.0.6 and Microsoft Internet Explorer 6.0.
Due to a browser bug AJASON does not work with Opera 8.01 (and probably previous versions) when sending data with POST method.

Todo
  • Tests on more browsers
  • Maybe: optional XML response for direct manipulation of DOM objects?
  • Maybe: registering complete classes with all public (static) methods?

Free   Version: n/a   Platform(s): All   Updated:  August 20, 2008

Developer:Timo Haberkern Demo Download  
Rated by: 1 user(s)  
Follow Navioo On Twitter

Submit a resource