Changes between Version 71 and Version 72 of DeveloperGuidelines/CodeConventions


Ignore:
Timestamp:
01/22/18 21:26:18 (7 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/CodeConventions

    v71 v72  
    5656* Names for Eden-specific subclasses of web2py classes and all classes which over-ride existing classes should have the suffix "S3".
    5757* 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)
    5959* 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).
    6060* Class names start with an uppercase letter.