Changes between Version 44 and Version 45 of RESTController


Ignore:
Timestamp:
06/11/10 11:06:42 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RESTController

    v44 v45  
    33= REST Controller =
    44
    5 Available since: [https://code.launchpad.net/sahana-eden Main Trunk] Revision 358+
     5'''[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 calling controller via hooks) to execute those actions (important: S3REST itself does not manipulate any data!).
    66
    77The 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}}}.
    8 
    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 calling controller via hooks) to execute those actions (important: S3REST itself does not manipulate any data!).
    108
    119The method handlers support a number of data representation formats:
     
    1816    * [wiki:S3XRC JSON] as light-weight alternative for AJAX-style resource access
    1917
    20 See also: [wiki:S3REST S3REST], [wiki:S3XRC S3XRC]
     18See also: [wiki:S3REST S3REST], [wiki:S3XRC S3XRC], [wiki:DeveloperGuidelinesRESTCustomisation REST Customisation]
    2119== Resources ==
    2220