2017 © Pedro Peláez
 

library restwork

PHP RESTFull webservice

image

xdbas/restwork

PHP RESTFull webservice

  • Saturday, May 18, 2013
  • by xdbas
  • Repository
  • 3 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

RESTWork

Simple REST system to build small webservices without a huge framework or system for easy development., (*1)

Build Status, (*2)

SYSTEM

Here is a brief explanation of how certain processes are set-up and called throughout the framework initialization., (*3)

  1. Enter framework via .htaccess index.php

Will handle the incoming request and will set up some globals for all paths. It will attempt to call the application., (*4)

  1. Application::Run() The main method of the application gets called to intialize and run the system, (*5)

  2. Check system paths, Setup Error handlers and init autoloader Self explanatory, (*6)

  3. Initialize the config handler and load config files, (*7)

  4. Call bootstrap and call all methods prefixed with '_' in standard order, (*8)

    5a. _beforeRequest gets called Execute user code before the request will be fetched, (*9)

    5b. _gatherRequest Fetch / Gather the HTTP Request send from browser or other client, (*10)

    - Initialize URI class to handle the Request URI

    5c _beforeRoute Execute user code before the uri will be analysed to fit an added route, (*11)

    5d _analyzeRoute Matches the uri to a Route and saves the data, (*12)

The Versions

18/05 2013

dev-master

9999999-dev

PHP RESTFull webservice

  Sources   Download

The Requires

 

The Development Requires