Login   Register  
PHP Classes
elePHPant
Icontem

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
  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 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 825 This week: 1All time: 3,880 This week: 1,364Up
Version License PHP version Categories  
smart-ajax-control 1.0GNU Lesser General Publ...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: 30
All time rank: Not yet ranked
Week rank: 7512 in Estonia Estonia

  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:825All time:3,880
 This week:1This week:1,364Up
 User Comments (1)  
 
Excellent framework.
3 years ago (Dermot Copps)
70%StarStarStarStar