Login   Register  
PHP Classes
elePHPant
Icontem

Smart AJAX Controller

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

  Author  
Picture of Kristo Vaher
Name: Kristo Vaher <e-mail contact>
Packages: 4 Browse all classes by Kristo Vaher Browse all classes by
Country: Estonia Estonia - PHP jobs in Estonia
Age: 29
All time rank: 15026 in Estonia Estonia
Week rank: 835 Up3 in Estonia Estonia Up


  Detailed description   Download .zip .tar.gz  
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 .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: 739 users
All time rank: 3916
Week users: 2 users
Week rank: 1296 Up
 
  Groups   Rate classes User ratings   Trackback  
  Applications   Related links   Files Files  

  Groups  
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  
There are not enough user ratings to display for this class.

  Trackback links  
Link Description
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...

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

  Related links  
Link Description
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

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.