Changes between Version 16 and Version 17 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
10/22/10 12:53:25 (14 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v16 v17  
    88
    99The so-called '''REST Controller''' (function {{{s3_rest_controller()}}}) is a helper function to easily apply the RESTful API of the S3Resource class to your controller.
     10
     11{{{s3_rest_controller}}} does:
     12
     13  - parse and execute the incoming HTTP request on the specified resource
     14  - populate and hand-over view variables
     15  - choose and set the response view template ({{{response.view}}})
    1016
    1117Using {{{s3_rest_controller}}}, a basic RESTful controller for the {{{pr_image}}} table can look like:
     
    2026}}}
    2127
    22 {{{s3_rest_controller}}} does:
     28This exposes all standard methods for this table, including:
    2329
    24   - parse and execute the incoming HTTP request on the specified resource
    25   - populate and hand-over view variables
    26   - choose and set the response view template ({{{response.view}}})
    27 
     30  - interactive create, read, update, delete and list views
     31  - non-interactive data import/export in multiple formats
    2832== Syntax ==
    2933