Login   Register  
PHP Classes

Smart AJAX Controller: Generate AJAX request responses in JSON format

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Kristo Vaher
Name: Kristo Vaher <contact>
Classes: 4 packages by
Country: Estonia Estonia
Age: 30
All time rank: 14606 in Estonia Estonia
Week rank: 1735 Down6 in Estonia Estonia Equal

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to generate AJAX request responses in JSON format.

It can define one or more keys and values that will define the actions that will be perform by JavaScript code on the browser side as response to an AJAX request.

The class converts the response values into an array that is outputted in JSON encoded format. The response may be compressed with GZip.

  Classes of Kristo Vaher  >  Smart AJAX Controller  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Smart AJAX Controller
Base name: smart-ajax-control
Description: Generate AJAX request responses in JSON format
Version: 1.0
PHP version: 5.2
License: GNU Lesser General Public License (LGPL)
All time users: 810 users
All time rank: 3900
Week users: 0 users
Week rank: 1551 Equal
  Groups   Rate classes User ratings   Trackback  
  Applications   Related pages   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes

  User ratings  
Not enough user ratings

  Pages that reference this package  
AJAX controller also released as a class
For phpclasses.org purposes I also converted the Smart AJAX Controller into a class, it is available here...

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
Blog Post
This blog post is using a non-class and non-gzip version of this AJAX solution, but the other aspects, such as descriptions of javascript front-end controller, are the same.

  Files folder image Files  
File Role Description
Accessible without login Plain text file ajax.php Example AJAX backend file that jQuery submits data to and waits for a response from
Plain text file class.smartajaxcontroller.php Class PHP class used to generate compressed JSON output for jQuery
Accessible without login HTML file index.htm Data HTML file for the working example
Accessible without login Plain text file javascript.js Data JavaScript Front-End controller, utilizing custom uiAction() function.
Accessible without login Plain text file jquery.js Data jQuery 1.4.2 is used in this example

Install with Composer Install with Composer - Download Download all files: smart-ajax-control.tar.gz smart-ajax-control.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.