Changes between Version 59 and Version 60 of DeveloperGuidelinesS3Framework
- Timestamp:
- 01/17/11 08:48:22 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelinesS3Framework
v59 v60 12 12 - [wiki:S3XRC Extensible Resource Controller (S3XRC)] 13 13 14 == REST Controller==14 == Web2py Extensions == 15 15 16 We extend Web2Py's CRUD with a [wiki:S3XRC/RESTfulAPI/s3_rest_controller REST Controller] & [wiki:S3XRC S3XRC].[[BR]] 17 This provides details on how to configure your Model & Controllers. Views may not be required, other than index.html 16 We extend some web2py framework classes in {{{modules/s3}}}.[[BR]] 17 Patches to the framework should be done here.[[BR]] 18 If they're generic enough then they can be suggested to Massimo Di Pierro for moving upstream to [http://web2py.com web2py]. 18 19 19 gluon/tools.py is used for: 20 * [wiki:DeveloperGuidelinesAuthenticationAccess AAA] 21 * simplified [wiki:DeveloperGuidelinesCreateReadUpdateDelete CRUD] 22 23 T2 is still present for {{{/search}}}. however we hope to replace it soon. 24 25 We extend the Auth/Crud/T2 classes in {{{modules/sahana.py}}}.[[BR]] 26 Patches to the framework should be done here.[[BR]] 27 If they're generic enough then they can be suggested to Massimo for moving upstream to Web2Py. 28 20 We replace web2py's Crud with a [wiki:S3XRC/RESTfulAPI/s3_rest_controller REST Controller].[[BR]] 29 21 === Custom Methods Plugged into REST === 30 22 In many cases it may be much easier to implement non-CRUD resource functions as REST-plugins instead of separate controllers.