Changes between Version 71 and Version 72 of DeveloperGuidelines/CodeConventions
- Timestamp:
- 01/22/18 21:26:18 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/CodeConventions
v71 v72 56 56 * Names for Eden-specific subclasses of web2py classes and all classes which over-ride existing classes should have the suffix "S3". 57 57 * S3Model subclasses in s3db should start with the all-uppercase module prefix, e.g. DVRCaseModel, PRImageModel (because the universal S3 prefix makes it harder to avoid name collisions between modules) 58 * S3Method subclasses in s3db must start with the all-lowercase module prefix , e.g. pr_Contacts (otherwise S3Model won't export them)58 * S3Method subclasses in s3db must start with the all-lowercase module prefix plus underscore, e.g. pr_Contacts (otherwise S3Model won't export them) 59 59 * All other classes defined in Eden start with "S3", e.g. S3Resource (a genuine Eden class) vs. AuthS3 (an Eden subclass of a web2py class). 60 60 * Class names start with an uppercase letter.