Login   Register  
PHP Classes
elePHPant
Icontem

AjaxIto: Call PHP code from Javascript using AJAX

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   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-07-19 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,302 All time: 2,736 This week: 1,485Up
Version License PHP version Categories  
ajaxito 1.2BSD License4.0HTML, AJAX
Description Author  

This class can be used to call PHP code from Javascript using AJAX.

It generates HTML with Javascript code that can be called by other Javascript code in the current page, so it triggers the execution of a given PHP class.

The class can detect when an AJAX request is being sent and calls the specified callback class. That class takes care of generating the response to the AJAX request.

Picture of Javier Rubacha
Name: Javier Rubacha <contact>
Classes: 1 package by
Country: Argentina Argentina
Age: 31
All time rank: 181823 in Argentina Argentina
Week rank: 1712 Up18 in Argentina Argentina Up

  Files folder image Files  
File Role Description
Files folder imageAjaxIto (2 files)
Accessible without login HTML file AjaxIto_documentation.html Doc. Step by step guide to start using AjaxIto
Accessible without login Plain text file examples.php Example Some useful and line by line commented examples.
Accessible without login Plain text file ExampleControllerClass.class.php Example Example controller class. It's an example of a class needed to use AjaxIto. Here is where you define the methods that can be called via JavaScript.

  Files folder image Files  /  AjaxIto  
File Role Description
  Plain text file AjaxIto.class.php Class Main AjaxIto class.
  Plain text file AjaxItoResPro.class.php Class Auxiliary class. This one is in charge of parsing requests and responses.

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,302All time:2,736
 This week:0This week:1,485Up