PHP Classes

pAjax: Do RPC calls from the browser without page reloads

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 6,541 All time: 320 This week: 73Up
Version License Categories
pajax 1.0Free for non-comm...PHP 5, AJAX
Description 

Author

This class can be used to make the browser invoke actions executed on the server side without reloading the current page.

It sends what is known as AJAX requests that consist in Javascript calls that sends HTTP requests to the server encapsulate the eventual parameters of the requested actions. Parameters can be any type of data, including objects, arrays, strings, numbers and booleans.

The class generates Javascript code with a behavior that can be customized by the developer using event handler functions also in Javascript.

On the server side the class can handle the requests dispatching the invoked function and passing eventual parameters. Also, class methods can be called by setting the objects instance.

The class supports requests done using both GET and POST methods, and requests types: ASYNC and SYNC.

Support PHP versions 4 and 5. Requires DOMIT! XML Parser to work.

Innovation Award
PHP Programming Innovation award nominee
August 2005
Number 2


Prize: One downloadable copy of Komodo Pro
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 Guilherme Blanco
Name: Guilherme Blanco <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 41
All time rank: 22915 in Brazil Brazil
Week rank: 187 Up15 in Brazil Brazil Equal
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (36)  
File Role Description
Files folder imageappz (3 directories)
Files folder imagedocs (5 files)
Files folder imagetests (11 files)
Files folder imageXMLSupport (1 file)
Accessible without login Plain text file CHANGELOG.txt Doc. List of Changes
Plain text file class.pAjax.php Class Main class
Plain text file class.pAjaxParser.php Class pAjax PHP Parser
Accessible without login Plain text file INSTALL.txt Doc. Instalation notes
Accessible without login Plain text file pajax-commom.js Data Commom Support for JS between browsers
Accessible without login Plain text file pajax-core.js Data Core JS Script
Accessible without login Plain text file pajax-parser.js Data pAjax JS Parser
Accessible without login Plain text file TODO.txt Doc. TODO List

  Files folder image Files (36)  /  appz  
File Role Description
Files folder imageautosuggest (5 files)
Files folder imagetype_ahead (3 files)
Files folder imagetype_ahead_db (3 files)

  Files folder image Files (36)  /  appz  /  autosuggest  
File Role Description
  Accessible without login Plain text file autosuggest.php Appl. Auto Suggestion Application
  Accessible without login Plain text file autosuggestcontroller.js Data Auto Suggestion Controller Script
  Accessible without login Plain text file colorssuggestionprovider.js Data Colors Suggestion Provider Script
  Accessible without login Plain text file statessuggestionprovider.js Data USA States Suggestion Provider Script
  Accessible without login Plain text file suggestions.css Data Styles definition

  Files folder image Files (36)  /  appz  /  type_ahead  
File Role Description
  Accessible without login Plain text file autosuggestcontroller.js Data Auto Suggestion Controller Script
  Accessible without login Plain text file suggestionprovider.js Data Suggestion Provider Script
  Accessible without login Plain text file type_ahead.php Appl. Type Ahead Script

  Files folder image Files (36)  /  appz  /  type_ahead_db  
File Role Description
  Accessible without login Plain text file autosuggestcontroller.js Data Auto Suggestion Controller Script
  Accessible without login Plain text file suggestionprovider.js Data Suggestion Provider Script
  Accessible without login Plain text file type_ahead_db.php Appl. Type Ahead Script

  Files folder image Files (36)  /  docs  
File Role Description
  Accessible without login Plain text file Basic_Tutorial.txt Doc. Basic Usage of pAjax
  Accessible without login Plain text file JS_API.txt Doc. JS API Documentation
  Accessible without login Plain text file JS_OO.txt Doc. JS OO Tutorial
  Accessible without login Plain text file Migration_Doc_10_to_15.txt Doc. Migration Document 1.0 to 1.5
  Accessible without login Plain text file PHP_API.txt Doc. PHP API Documentation

  Files folder image Files (36)  /  tests  
File Role Description
  Accessible without login Plain text file basic_timer.php Example Timer test (periodical request call)
  Accessible without login Plain text file client.php Example Client Script for URI test
  Accessible without login Plain text file complex_structure.php Example Struct and array data retrieval
  Accessible without login Plain text file error_handler.php Example Parser error test
  Accessible without login Plain text file events.php Example Events test
  Accessible without login Plain text file inline_call.php Example Inline call first test
  Accessible without login Plain text file inline_call2.php Example Inline call second test
  Accessible without login Plain text file multiplier.php Example Simple multiply calculator test
  Accessible without login Plain text file obj_call.php Example Objects hierarchy test
  Accessible without login Plain text file server.php Example Server Script URI Test
  Accessible without login Plain text file test_form.php Example Form connector test

  Files folder image Files (36)  /  XMLSupport  
File Role Description
  Accessible without login Plain text file dir_note.txt Doc. Information about XMLSupport

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadpajax-2007-01-25.zip 52KB
Downloadpajax-2007-01-25.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
DOMIT XML parser Download .zip .tar.gz XML Support to generate and parse XML data Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:6,541
This week:0
All time:320
This week:73Up
 User Ratings  
 
 All time
Utility:80%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:80%StarStarStarStarStar
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:797