PHP Classes

Smart AJAX Controller: Generate AJAX request responses in JSON format

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-06-07 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 833 All time: 3,927 This week: 986Up
Version License PHP version Categories  
smart-ajax-control 1.0GNU Lesser Genera...5.2PHP 5, AJAX
Description Author  

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.

Picture of Kristo Vaher
Name: Kristo Vaher <contact>
Classes: 4 packages by
Country: Estonia Estonia
Age: 31
All time rank: 14566 in Estonia Estonia
Week rank: 1602 Down5 in Estonia Estonia Up

  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

 Version Control Unique User Downloads Download Rankings  
 0%Total:833All time:3,927
 This week:0This week:986Up
 User Comments (1)  
Excellent framework.
4 years ago (Dermot Copps)