AJAX Agent, Easy To Use Ajax PHP Framework
Ajax Agent is PHP based Ajax framework created by some old Ajax pro's (Steve Hemmady, the Lead Architect behind Onepage Portal Server (now Sybase Enterprise Portal) & Anuta Udyawar, one of the core engineers behind the Content Express For Microsoft Commerce Server). Their aim is to make Ajax work as simple as possible. The PHP version offers three steps to get started with the framework:
<?php
include_once('agent.php');
$agent->init();
agent.call('url','server_function', 'client_handle', $param1, $param2, ...);
?>
The first line is declared to include the Ajax Agent library, initialize the agent framework & instantiate the server side 'Agent'. The second line instantiates the client side 'Agent'. The third line which runs on the client side within the javascript browser environment, uses the client side 'Agent' to directly call the server function asynchronously. Ajax Agent supports complex data types like associated arrays & objects. It makes use of JSON (JavaScript Object Notation) for data interchange format to achieve this.
AJAX Agent is released under GPL license, and you can find many interesting demos from Hello world, simple calculator, send/receive arrays ... written by Steve Hemmady and Anuta Udyawar.


Subscribe to AJAX Magazine's feed