2017 © Pedro Peláez
 

library api-stack

image

syzygy/api-stack

  • Tuesday, May 6, 2014
  • by syzygymsu
  • Repository
  • 2 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ApiStack

ApiStack is a library of PHP classes to help implement API-s, such as JSON-RPC. Actually, JSON-RPC is the only protocol fully supported by now, but the list should be extended., (*1)

Stack

  • Client (external user)
  • Transport Handles communication with client, forms separate calls as plain strings. E.g. HTTP, socket
  • Protocol Translates plain string to request object[s] and response object[s] back to plain string. E.g. Json-RPC, SOAP, XML-RPC?
  • Service Handles request object, prepares arguments, calls requested function.
  • Functions (your implementation)

Usage

This library provides only base classes for three independent layers -- Transport, Protocol, and Service. You MUST consider how every layer should behave and extend/implement them for your own needs., (*2)

The Versions

06/05 2014

dev-master

9999999-dev

  Sources   Download

The Requires

  • php >=5.0.0

 

by Anton A. Sumin