[Zope3-checkins] CVS: Zope3/src/zope/configuration/tests/products_ - __init__.py:NONE
Jim Fulton
jim@zope.com
Mon, 28 Jul 2003 18:23:06 -0400
Update of /cvs-repository/Zope3/src/zope/configuration/tests/products_
In directory cvs.zope.org:/tmp/cvs-serv30798/src/zope/configuration/tests/products_
Removed Files:
__init__.py
Log Message:
Major refactoring of the configuration system. Now use a totally new
architecture based on:
- Using schema to describe directive attributes
- Treating most configuration handlers as decorators of configuration
contexts.
The benefits of this are:
- Conversion of directive input can be automated.
- Much better error reporting. We can now tell people
what attributes are missing, are extra, or have invalid
values.
- It's possible to extend existing directives without modifying them.
Extending subdirectives can even be in different namespaces, if
desired.
- There is a includeOverrides directive for including files that
contain directives overriding directives in other files.
- It is possible to have many more sorts of "grouping" directives.
This will allow things like directives that provide defaults for
other directives and perhaps even some sort of macro system.
The basic refactoring is done, but there are a number of things to be
done:
- Write new documentation on how to write directives the new and
better way.
- Update the documentation generation tool to use the new
configuration framework.
- Add i18n support. This was the motivation for the refactoring. Now
this is easy. :)
=== Removed File Zope3/src/zope/configuration/tests/products_/__init__.py ===