Changes between Version 30 and Version 31 of RESTController


Ignore:
Timestamp:
04/06/10 23:09:25 (12 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RESTController

    v30 v31  
    55Available since: [https://code.launchpad.net/~flavour/sahana/sahanapy-trunk Main Trunk] Revision 358+
    66
    7 See also: [wiki:S3REST S3REST], [wiki:S3XRC S3XRC]
     7'''S3REST''' provides a generic '''RESTful API''' ([http://en.wikipedia.org/wiki/Representational_State_Transfer Representational State Transfer]) for !SahanaPy database resources, which maps HTTP requests to data resources and function calls. In particular, it maps resource addresses (=URL's) and HTTP methods (GET, PUT, DELETE) to CRUD actions, and invokes so called ''method handlers'' to execute them.
    88
    9 The "REST Controller" is a S3 framework component that provides a generic RESTful ([http://en.wikipedia.org/wiki/Representational_State_Transfer Representational State Transfer]) API for !SahanaPy database resources.
     9The so called '''REST Controller''' (function shn_rest_controller() in models/01_crud.py) is wrapper function for S3REST, providing generic CRUD method handlers.
    1010
    11 The main function of the REST Controller is:
    12 
    13     * '''shn_rest_controller''' (defined in models/01_RESTlike_controller.py)
    14 
    15 The controller supports a number of representation formats:
     11The method handlers support a number of representation formats:
    1612
    1713    * HTML (including autogenerated Create/Update forms)
     
    2218    * [wiki:S3XRC JSON] as light-weight alternative for AJAX-style resource access
    2319
     20See also: [wiki:S3REST S3REST], [wiki:S3XRC S3XRC]
    2421== Resources ==
    2522