Author: Chris Jeffries
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.
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:
Comments:
No comments were submitted yet.