Login   Register  
PHP Classes
elePHPant
Icontem

HTTP Request class: Generate Javascript to send HTTP AJAX requests

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 (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-01-22 (5 years ago) RSS 2.0 feedStarStarStar 57%Total: 7,469 This week: 1All time: 226 This week: 1,364Down
Version License Categories  
httprequest 1.0GNU Lesser General Publ...AJAX
Description Author  

This class can be used to send HTTP requests to remote Web servers from Javascript code in Web pages without the need to reload such pages.

The class generates the necessary Javascript for performing the HTTP requests and handle the returned XML responses. It uses same technology behind Gmail and many other sites, that is also known as AJAX.

Innovation Award  
PHP Programming Innovation award nominee
August 2005
Number 4


Prize: One copy of the Maguma Workbench
AJAX is an acronym for Asynchronous JavaScript and XML. It is a technology that is becoming increasingly popular as it provides meants to establish the communication in the background between a Web browser and a Web server.

AJAX permits executing actions and updating parts of Web pages without reloading the whole page.

Despite it has been introduced with Internet Explorer 5.5, only recently this technology has been implemented by Mozilla browsers and other browsers that followed the trend.

The wide adoption of AJAX opened space for applications and components that use AJAX to provide highly interactive Web based user interfaces.

This package is one of the three, released almost at the same time in August 2005, that provide means to facilitate the creation of PHP applications that take advantage of AJAX potential.

Manuel Lemos
Picture of Martin Fasani
Name: Martin Fasani is available for providing paid consulting. Contact Martin Fasani .
Classes: 2 packages by
Country: Germany Germany
Age: 37
All time rank: 31217 in Germany Germany
Week rank: 1060 Down50 in Germany Germany Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file classhttpreq.php Class Main Class
Accessible without login Plain text file democlass.php Example Demo of class implementation
Accessible without login Plain text file democlassheaders.php Example Demo of the class reading headers (using proxyhead.php helper script)
Accessible without login Plain text file docclassmethods.php Aux. Properties and methods of the class
Accessible without login Plain text file proxycurl.php Aux. Simple CURL proxy
Accessible without login Plain text file proxyhead.php Aux. Proxy to retrieve headers. Credit inside source
Accessible without login Plain text file soapreq.xml Data Xml file to make a google search request
Accessible without login Plain text file xmlhttpclass_article.txt Doc. xmlhttpclass Article Release

 Version Control Unique User Downloads Download Rankings  
 0%Total:7,469All time:226
 This week:1This week:1,364Down
 User Ratings  
 
 All time
Utility:72%StarStarStarStar
Consistency:77%StarStarStarStar
Documentation:65%StarStarStarStar
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1068