Changes between Version 19 and Version 20 of BluePrintWebSetup


Ignore:
Timestamp:
06/07/10 08:00:44 (15 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintWebSetup

    v19 v20  
    1414   * S3Config is a subclass of ''Storage'' and can therefore be written in dot-notation
    1515   * S3Config implements methods to read the config values (instead of accessing the instance attributes themselves), which also implement any fallback values. These methods should be used throughout the application (=do not store their return values in any global variables).
    16    * a S3Config instance could be made read-only during the current request (=safer) by amending the ''!__setattr!__'' method to not except updates (then you can still overwrite deployment_settings by replacing it with a new instance)
     16   * additionally, a S3Config instance could (should) be made read-only during the current request (=safer) by amending the ''!__setattr!__'' method to not except updates (then you can still overwrite deployment_settings by replacing it with a new instance)
    1717   * S3Config could contain a method to generate a web form to create a new instance (+pre-populate the form with values of another instance)
    1818   * S3Config could then even contain a method to write the instance to a config file like 000_config.py
     
    3838BluePrints
    3939BluePrints
     40BluePrints