Updated version of jsonrpcServer - PHP JSON RPC 2.0 Server package blog

Recommend this page to a friend!
  All package blogs All package blogs   PHP JSON RPC 2.0 Server PHP JSON RPC 2.0 Server   Blog PHP JSON RPC 2.0 Server package blog   RSS 1.0 feed RSS 2.0 feed   Blog Updated version of js...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2020-01-15

Posted on: 2020-01-15

Viewers: 15 (January 2020 until April 2020)

Last month viewers: 2 (April 2020)

Package: PHP JSON RPC 2.0 Server

Implements a cleaner method module interface.
Provides an modular interface for adding shared services
Error trapping and handling is more consistent.
Fixes a few bugs.




This is an updated version of jsonrpcServer which implements JSON-RPC v2.0 specification in full.

The package includes the server class as well as PHP and ECMAScript client scripts.

In addition there is a  sample module to illustrate how to implement additional modules.

In this version name clashes are avoided by requiring each module to run in its own namespace.

There is also an additional type of method (called a service) which can ONLY be called by other scripts, not by clients. services are used for common services - for example database access - which may be needed by more than one method.

Separately loaded are:

- a service module to provide database access
- a method module to execute (stored) SQL statements
- a method module to retrieve metadata from (stored) SQL statements
- a method module to list the available stored SQL statements



You need to be a registered user or login to post a comment

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   PHP JSON RPC 2.0 Server PHP JSON RPC 2.0 Server   Blog PHP JSON RPC 2.0 Server package blog   RSS 1.0 feed RSS 2.0 feed   Blog Updated version of js...  

For more information send a message to info at phpclasses dot org.