« Numbler, AJAX Spreadsheets | Main | Explore Amazon Web Services with AJAX - Price Compare - Day 2 »

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.

Bookmark this article at these sites
Comments
1

hgfghfghfghfghfghf

2

hi
this is good but has a problem !
when you want to send prameters of large form, it need to calculate a large list of variable and send it !!!
if possible to send all form content variable to PHP side its was veru excellent !
bye

3

i like this

Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):