Changes between Version 42 and Version 43 of S3REST
- Timestamp:
- 05/19/10 10:04:59 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3REST
v42 v43 5 5 == S3RESTController == 6 6 7 The S3RESTController class implements a generic RESTful interface for database resources in S3. This class is instantiated as the global callable '''s3rest''' object, and called by the ''shn_rest_controller()'' wrapper function.8 9 '''s3rest''' can be configured dynamically, and can easily be used to build RESTful controllers throughout the application.7 The S3RESTController class implements a generic RESTful interface for database resources in S3. 8 9 This class is instantiated as the global callable '''s3rest''' object, which will be used by the ''shn_rest_controller()'' wrapper function. '''s3rest''' can be configured dynamically, and can easily be used to build RESTful controllers throughout the application. 10 10 11 11 Important: an s3rest instance is created per request and must not be stored or referenced by static objects to avoid memory leaks! 12 12 13 The default method handlers provided by the ''shn_rest_controller()'' wrapperimplement CRUD (create, read, update, delete) in all major representations, including the capabilities of [wiki:S3XRC S3XRC] to use in-line XSLT for export and import of XML and JSON formats.13 The default method handlers of '''s3rest''' (provided by the ''shn_rest_controller()'' wrapper) implement CRUD (create, read, update, delete) in all major representations, including the capabilities of [wiki:S3XRC S3XRC] to use in-line XSLT for export and import of XML and JSON formats. 14 14 15 15 [[Image(s3rest.png)]]