Changes between Version 14 and Version 15 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
10/22/10 12:38:16 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v14 v15  
    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
     11Using {{{s3_rest_controller}}}, a basic RESTful controller can look like:
     12
     13{{{
     14def image():
     15
     16    """ RESTful CRUD controller """
     17
     18    return s3_rest_controller("pr", "image")
     19
     20}}}
    1021
    1122{{{s3_rest_controller}}} does: