tiramisu/doc/glossary.txt

87 lines
2.4 KiB
Plaintext
Raw Normal View History

.. default-role:: literal
Glossary
==========
2012-11-20 17:14:58 +01:00
.. glossary::
2012-11-20 17:14:58 +01:00
configuration
2012-11-20 17:14:58 +01:00
Global configuration object, wich contains the whole configuration
options *and* their descriptions (option types and group)
2012-11-20 17:14:58 +01:00
schema
option description
2013-08-20 17:30:24 +02:00
see :class:`tiramisu.option.OptionDescription`
2012-11-20 17:14:58 +01:00
The schema of a configuration :
2012-11-20 17:14:58 +01:00
- the option types
2012-11-20 17:14:58 +01:00
- how they are organised in groups or even subgroups, that's why we
call them **groups** too.
2012-11-20 17:14:58 +01:00
configuration option
2012-11-20 17:14:58 +01:00
An option object wich has a name and a value and can be accessed
from the configuration object
2013-08-21 11:09:11 +02:00
access rules
Global access rules are : :meth:`~config.CommonConfig.read_write()` or
:meth:`~config.Config.read_only()`, see :doc:`status`
2012-11-20 17:14:58 +01:00
default value
2012-11-20 17:14:58 +01:00
Default value of a configuration option. The default value can be
set at instanciation time, or even at any moment. Remember that if
you reset the default value, the owner reset to `default`
2012-11-20 17:14:58 +01:00
freeze
2012-11-20 17:14:58 +01:00
A whole configuration can be frozen (used in read only access). See
2013-08-21 11:09:11 +02:00
:ref:`frozen` for details.
2012-11-20 17:14:58 +01:00
A single option can be frozen too.
2012-11-20 17:14:58 +01:00
value owner
2012-11-20 17:14:58 +01:00
When an option is modified, including at the instanciation, we
always know who has modified it. It's the owner of the option, see
:doc:`status` for more details.
2012-11-20 17:14:58 +01:00
option with properties
2012-11-20 17:14:58 +01:00
an option wich has property like 'hidden' or 'disabled' is an option
wich has restricted acces rules
2012-11-20 17:14:58 +01:00
hidden option
a hidden option has a different behaviour on regards to the access
of the value in the configuration, see :doc:`status` for more details.
disabled option
a disabled option has a different behaviour on regards to the access
of the value in the configuration, see :doc:`status` for more details.
mandatory option
A mandatory option is a configuration option wich value has to be
2013-08-20 17:30:24 +02:00
set, that is the default value cannot be `None`.
2012-11-20 17:14:58 +01:00
consistency
2013-08-21 11:09:11 +02:00
Preserving the consistency in a whole configuration is a tricky thing,
2012-11-20 17:14:58 +01:00
tiramisu takes care of it for you, see :doc:`consistency` for details.
2013-08-21 11:09:11 +02:00
context
The context is a :class:`tiramisu.setting.Setting()` object in the
configuration that enables us to access to the global properties
for example the `read_write` or `read_only` :term:`access rules`