Login   Register  
PHP Classes
elePHPant
Icontem

Auto Ajax

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

  Author  
Picture of Cesar D. Rodas
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Packages: 36 Browse all classes by Cesar D. Rodas Browse all classes by
Country: Paraguay Paraguay - PHP jobs in Paraguay
Age: 25
All time rank: 71 in Paraguay Paraguay
Week rank: 21 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 23x

Winner: 5x


  Detailed description   Download .zip .tar.gz  
This class can be used to update only parts of pages when links are clicked using AJAX to avoid full page reloading.

It uses some Javascript code to intercept the clicks on the current page links.

The link clicks trigger AJAX POST requests to fetch the content to update specific page sections, instead of the whole page.

If the browser does not support Javascript or AJAX requests, the clicks on the links will make the browser retrieve the whole page as usual.

  Classes of Cesar D. Rodas  >  Auto Ajax  >  Download .zip .tar.gz  >  Support forum Support forum (12)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Auto Ajax
Base name: autoajax
Description: Update page parts with AJAX when links are clicked
Version: 1.0
PHP version: 4.0
License: BSD License
All time users: 6580 users
All time rank: 262
Week users: 0 users
Week rank: 2072 Equal
 
  Groups   Rate classes User ratings   Dependencies  
  Trackback   Applications   Files Files  

  Groups  
Group folder image AJAX Interact with the Web server without page reloading View top rated classes


  Innovation Award  
PHP Programming Innovation award winner
November 2007
Winner

Prize: One book of choice by O'Reilly
AJAX became very popular because it allows to partially update Web pages in much less time than if they would have to fully reload.

Implementing AJAX in a formerly non-AJAX class, usually requires many changes in the code that generates the page.

This class makes it possible to use AJAX to update parts of a page without changing too much the code of the scripts that generate the page.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (77.1%)
Sufficient (72.9%)
-
Sufficient (77.1%)
-
-
Not sure (53.5%)
1301
Month:
Not yet rated by the users

  Packages needed by this class  
Class Dependency Why it is needed
JSON
Conditional
Only need if there is not PHP json_encode function
Url Rewriter
Conditional
For example with URL Rewriter

  Trackback links  
Link Description
Ajax, ajax, and more ajax! Ajax, ajax, ajax.. you may head so much about ajax, and you may be wondering, what’s ajax?
Auto Ajax, Automatisches Ajax Diese klasse kann dazu verwendet werden um nur bestimmte Teile einer Webseite neu zu Laden, statt per klick auf einen Link die ganze Seite erneut zu laden...
Friendly URL! is it really needed? The trend of the web right now is to avoid as much as possible to pass GET’s variables to a web site, instead of that it is used “friendly URL”...
Friendly URL! is it really needed? The trend of the web right now is to avoid as much as possible to pass GET’s variables to a web site, instead of that it is used “friendly URL”...
The new way to write AJAX applications with PHP Write Ajax applications in theses day are a common thing, the “day by day” of the web developer...

  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.
  Files folder image Files  
File Role Description
Files folder imageexample-aa-ur (3 files)
Files folder imageexample (7 files)
Plain text file autoajax.php Class Main class
Accessible without login Plain text file url_handler.php Example Example with Url Rewriter
Accessible without login Plain text file autoajax.js Data javascript to implement autoajax
Accessible without login Plain text file prototype.js Data Prototype

  Files  /  Files folder image example-aa-ur  
File Role Description
  Accessible without login Plain text file error.php Example Example with Url Rewriter
  Accessible without login Plain text file index.php Example Example with Url Rewriter
  Accessible without login Plain text file page.php Example Example with Url Rewriter

  Files  /  Files folder image example  
File Role Description
  Accessible without login Plain text file about.php Example Example
  Accessible without login Plain text file copyleft.php Example Example
  Accessible without login Plain text file definition.php Example Example
  Accessible without login Plain text file index.php Example Example
  Accessible without login Plain text file normal-request.php Example Example
  Accessible without login Plain text file time.php Example Example
  Accessible without login Plain text file welcome.php Example Example

Download all files: autoajax.tar.gz autoajax.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.