PHP Classes

ACE: Generate Javascript to call PHP objects using AJAX

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 7,174 This week: 1All time: 267 This week: 62Up
Version License PHP version Categories
ace 1.0.0MIT/X Consortium ...5Web 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
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:7,174
This week:1
All time:267
This week:62Up
User Ratings User Comments (1)
 All time
Utility:84%StarStarStarStarStar
Consistency:68%StarStarStarStar
Documentation:52%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2011