There are two "scheme" setting mechanisms in BEE. One is for programmers for keeping application settings, and will be discussed in the "scheme" class. Another is used internally by CROFT to control the operation of the web site.
Scheme in CROFT is for permanent system settings, usually to identify directories in the BEE Hosting Server. The CROFT Scheme settings are set up by the BEE Hosting Administrator, and is not accessible from the program code. Settings for the application program should be put under the scheme class. (Please see BEE Variable under scheme%.)
The reason that we need similar mechanism in CROFT is that some settings are required even before the scheme class is initialised, e.g. the setting of the name of the scheme directory itself. Also, CROFT Scheme settings can only be changed by the BEE Hosting Administrator, making the CROFT Scheme ideal for security system settings.
Most of the CROFT Scheme settings have a default value and a CROFT Scheme entry is required only if the value is different from the default (e.g. if you want to put the VirtualBase directory to be somewhere else.)
|