Changes between Version 38 and Version 39 of RESTController


Ignore:
Timestamp:
05/19/10 09:47:46 (12 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RESTController

    v38 v39  
    55Available since: [https://code.launchpad.net/sahana-eden Main Trunk] Revision 358+
    66
    7 The so called '''REST Controller''' (function ''shn_rest_controller()'') is a wrapper function for [wiki:S3REST], providing generic CRUD method handlers. These method handlers as well as the REST controller itself are implemented in models/01_crud.py.
     7The so called '''REST Controller''' (function ''shn_rest_controller()'') is a wrapper function for [wiki:S3REST], which provides generic CRUD method handlers. These method handlers as well as the REST controller itself are implemented in models/01_crud.py.
    88
    9 '''[wiki:S3REST]''' provides a generic '''RESTful API''' ([http://en.wikipedia.org/wiki/Representational_State_Transfer Representational State Transfer]) for Sahana Eden database resources, i.e. it can map HTTP requests to data resources and function calls. In particular, it maps resource addresses (=URL's) and HTTP methods (=GET, PUT, DELETE etc.) to CRUD actions, and then invokes so called ''method handlers'' (provided by the controller) to execute those actions.
     9'''[wiki:S3REST]''' provides a generic '''RESTful API''' ([http://en.wikipedia.org/wiki/Representational_State_Transfer Representational State Transfer]) for Sahana Eden database resources, i.e. it can map HTTP requests to data resources and function calls. In particular, it maps resource addresses (=URL's) and HTTP methods (=GET, PUT, DELETE etc.) to CRUD actions, and then invokes hooks to so called ''method handlers'' (provided by the calling controller) to execute those actions.
    1010
    11 The method handlers support a number of representation formats:
     11The method handlers support a number of data representation formats:
    1212
    1313    * HTML (including autogenerated Create/Update forms)