PHP Classes

AjaxIto: Call PHP code from Javascript using AJAX

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
StarStar 39%Total: 1,417 All time: 2,751 This week: 71Up
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: 41
All time rank: 191024 in Argentina Argentina
Week rank: 163 Up1 in Argentina Argentina Up

  Files folder image Files (5)  
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 (5)  /  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.

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
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,417
This week:0
All time:2,751
This week:71Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:50%StarStarStar
Examples:41%StarStarStar
Tests:-
Videos:-
Overall:39%StarStar
Rank:3898