Login   Register  
PHP Classes
elePHPant
Icontem

ACE: Generate Javascript to call PHP objects using AJAX

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-09-19 (7 years ago) RSS 2.0 feedStarStarStarStar 63%Total: 6,725 This week: 6All time: 271 This week: 255Up
Version License Categories  
ace 1.0.0MIT/X Consortium LicenseWeb services, AJAX
Description Author  

This package can be use to generate Javascript to call functions of PHP class objects from the client side.

It generates Javascript code to create Javascript objects on the client side that act as proxies of PHP objects on the server side.

The generated code uses AJAX to communicate with the server side script that defines the ACE class.

The class can create the PHP object on the server side and call the functions that were invoked on the client side using the generated Javascript proxy class.

Innovation Award  
PHP Programming Innovation award nominee
August 2006
Number 3


Prize: One book of choice by O'Reilly
Interaction between the browser and the PHP Web applications without page reloading requires communication between both ends using Javascript on the browser side and PHP the server side.

Usually it is necessary the use of special AJAX libraries that take care of all the aspects of the communication.

This class can make the AJAX based interaction more transparent. It generates Javascript classes that act as client side proxies to call objects of PHP classes on the server side.

This way Javascript code can call classes that trigger the execution of PHP class functions with a minimal development effort.

Manuel Lemos
Picture of Andrea Giammarchi
Name: Andrea Giammarchi <contact>
Classes: 17 packages by
Country: Italy Italy
Age: 36
All time rank: 182 in Italy Italy
Week rank: 133 Down8 in Italy Italy Down
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Accessible without login HTML file ACE.html Doc. Documentation Page
Accessible without login Plain text file ACE.js Data ACE for all Clients
Accessible without login Plain text file ACE.php Class ACE for the Server
Accessible without login Image file ACE.gif Icon ACE Logo

 Version Control Unique User Downloads Download Rankings  
 0%Total:6,725All time:271
 This week:6This week:255Up
User Ratings User Comments (1)  
 All time
Utility:97%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:63%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:635