Changes between Version 16 and Version 17 of BluePrintWebSetup


Ignore:
Timestamp:
06/07/10 07:52:33 (12 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintWebSetup

    v16 v17  
    77
    88Configuration settings are in the file {{{models/000_config.py}}} which will have a simple structured format.
     9 * {{{models/00_settings.py}}} reads these settings to do the actual configuration.
     10 * The Web Setup should ideally read in the {{{000_config.py}}} file, make any amendments as-required & then write it out.
     11 * This means that developers can edit the settings live (we remain RAD) & there are no unncessary DB calls every request.
     12 * Ideally the Web setup should have a UI which works via introspection, so doesn't need to be maintained separately when settings are added/amended (this means the settings file needs to include labels/help text).
    913 * 000_config.py instantiates the '''S3Config''' class as ''deployment_settings'':
    1014   * S3Config is a subclass of ''Storage'' and can therefore be written in dot-notation
     
    1317   * S3Config could then even contain a method to write the instance to a config file like 000_config.py
    1418   * 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)
    15  * {{{models/00_settings.py}}} reads these settings to do the actual configuration.
    16  * The Web Setup should ideally read in the {{{000_config.py}}} file, make any amendments as-required & then write it out.
    17  * This means that developers can edit the settings live (we remain RAD) & there are no unncessary DB calls every request.
    18  * Ideally the Web setup should have a UI which works via introspection, so doesn't need to be maintained separately when settings are added/amended (this means the settings file needs to include labels/help text).
    1919
    2020These are the settings which will be configured:
     
    3535BluePrints
    3636BluePrints
     37BluePrints