Login   Register  
PHP Classes
elePHPant
Icontem

RPC API Framework

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of AJ
Name: AJ <e-mail contact>
Packages: 2 Browse all classes by AJ Browse all classes by
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 1542207 in United States United States
Week rank: 2187 Down274 in United States United States Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This package can be used to implement RPC servers for different formats.

It provides a common API define functions that can act as Web services handlers that can respond to requests with data in different formats.

It can handle the requests and call registered class functions that return the data to be served to clients.

The data is translated back to any of the supported. Currently it supports serving response data in JSON, XML and CSV formats.

  Classes of AJ  >  RPC API Framework  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: RPC API Framework
Base name: rpc-api-framework
Description: Implement RPC servers for different formats
Version: 1.0
PHP version: 4.0
License: GNU General Public License (GPL)
All time users: 454 users
All time rank: 5180
Week users: 0 users
Week rank: 2382 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Libraries Frameworks and libraries of cooperating classes View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
February 2011
Number 5

Prize: One downloadable copy of Komodo IDE
Web service providers can return data in many different formats. Depending on the circumstances, some formats may be more convenient for the developers than others.

This class provides a generalized solution to return Web service response data in different formats, leaving to the Web service consumer developer to choose a format that is more convenient.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagelib (6 files, 4 directories)
Files folder imagerpc (2 files)
Accessible without login Plain text file index.php Example Sample landing page.

  Files  /  Files folder image lib  
File Role Description
Files folder imagecore (2 files)
Files folder imagerequests (1 file)
Files folder imageRequests (1 file)
Files folder imageresults (2 files)
  Plain text file RPCEngine.class.php Class This is the driving class for all calls to remote procedures.
  Plain text file RPCHandler.class.php Class This is the base class which all other classes wishing to implement remote procedures should inhert from.
  Plain text file RPCHandlerRegistrant.class.php Class A data structure class which facilitates the registering of procedures to a namespace.
  Plain text file RPCProcedure.class.php Class This is a container class for the actual procedure. It allows adding various bits of meta-data to the procedure for further processing.
  Plain text file RPCRequest.class.php Class A normalized data structure for RPC requests.
  Plain text file RPCResult.class.php Class Base class for all RPC result types.

  Files  /  lib  /  Files folder image core  
File Role Description
  Plain text file Exception.class.php Class Custom Exception base class.
  Plain text file Query.class.php Class Helper class for accessing request data.

  Files  /  lib  /  Files folder image requests  
File Role Description
  Plain text file JSONRPCRequest.class.php Class Processes and turns raw JSON into a JSONRPCRequest

  Files  /  lib  /  Files folder image Requests  
File Role Description
  Plain text file XMLRPCRequest.class.php Class XML RPC Request Parser

  Files  /  lib  /  Files folder image results  
File Role Description
  Plain text file JSONRPCResults.class.php Class Turns an RPC Result into JSON
  Plain text file XMLRPCResults.class.php Class Translates an RPC result in to XML

  Files  /  Files folder image rpc  
File Role Description
  Plain text file ExampleRPCHandler.class.php Class Sample RPC Handler
  Plain text file HelpRPCHandler.class.php Class Help RPC Handler

Download all files: rpc-api-framework.tar.gz rpc-api-framework.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.