PHP Classes

JSON RPC: Handle calls to JSON RPC Web services

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
StarStarStar 58%Total: 1,278 All time: 3,004 This week: 455Up
Version License PHP version Categories
json-rpc 1.0MIT/X Consortium ...5.2PHP 5, Web services, AJAX
Description 

Author

This class can handle calls to JSON RPC Web services.

It can register global PHP functions or functions of given PHP classes to implement Web services using the JSON RPC protocol.

The Web pages can use the jQuery library to send AJAX requests using the JSON RPC protocol and this class handles the request by calling the registered functions and returning the responses.

The class can also handle discovery and documentation requests about API provided by the registered functions.

Innovation Award
PHP Programming Innovation award nominee
June 2011
Number 2


Prize: One downloadable e-book of choice by O'Reilly
JSON RPC is a protocol popularized among the community of developers that use the jQuery library.

It is used to perform interactive communication between Web applications on the browser and the application server side.

This class can simplify the implementation of server side of a JSON RPC based application in PHP.

Manuel Lemos
Picture of Jonathan Gotti
Name: Jonathan Gotti is available for providing paid consulting. Contact Jonathan Gotti .
Classes: 13 packages by
Country: France France
Age: 48
All time rank: 724 in France France
Week rank: 215 Down10 in France France Down
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files (3)  
File Role Description
Plain text file class-jsonrpc.php Class main class
Accessible without login Plain text file hello.php Example sample jsonrpc service
Accessible without login Plain text file test.html Data javascrip proxy usage example

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,278
This week:0
All time:3,004
This week:455Up
 User Ratings  
 
 All time
Utility:85%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1416