PHP Classes
elePHPant
Icontem

Simple REST Server: Implement REST based Web services

Recommend this page to a friend!

  Author Author  
Picture of jeffrey Afable
Name: jeffrey Afable <contact>
Classes: 4 packages by
Country: Philippines Philippines


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package can be used to implement REST based Web services.

There is a server class that can retrieve the Web service function being called and the respective parameters from the HTTP request and calls given user defined functions or a class previously registered to handle the Web service function calls.

The called function return values are encoded in the JSON format before they are returned to the client.

A separate class can take the class, function and parameters the client script wants to call, sends an HTTP request to the server to perform the Web service call and retrieves and decodes the return value.

Both client and server class support sending and receiving authentication parameters to restrict the users that can call the exposed Web services.

  Classes of jeffrey Afable  >  Simple REST Server  >  Download Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Simple REST Server
Base name: simple-rest-server
Description: Implement REST based Web services
Version: 1.0.0
PHP version: 5.3
License: GNU General Public License (GPL)
 
  Groups   Applications   Files Files  

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


  Applications that use this package  
No pages of applications that use this class were specified.

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
Accessible without login Plain text file Greetings.php Example Sample for the server class bind at the webservice
Accessible without login Plain text file client.php Example Sample for the client class
Accessible without login Plain text file server.php Example Sample for the server class
Plain text file simple_restclient.php Class Class for the client side
Plain text file simple_restserver.php Class Class for the server side

Install with Composer Install with Composer - Download Download all files: simple-rest-server.tar.gz simple-rest-server.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.