Andreas Jung wrote:
--On 4. März 2006 21:26:30 -0500 Jim Fulton <[EMAIL PROTECTED]> wrote:
At:
http://dev.zope.org/Zope3/UseConfigParserForHighLevelConfiguration
Is a proposal for using ConfigParser, rather than ZConfig for high-level
configuration.
Comments welcome.
-1
The right way would be to refactor ZConfig and decouple it in a
reasonable way from its dependencies.
I think this would be a major rewrite.
> ZConfig is a very smart module to
define configurations and to verify configuration files. Replacing
ZConfig with a very dumb format and moving more complexity
(verification, argument conversion etc.= into the app layer is the wrong
way. Apps should not have the need to deal with such low-level issues.
They have to deal with it now, but now it's really hard. I think that a simpler
approach would allow much simpler configuration support. To extend ZConfig now,
you have to create XML schema descriptions, and have deep knowledge of how
ZConfig works.
Why do you think it's better to have to create a monolithic schema for all
applications bits that want to use the configuration file, rather than letting
individual applications define how to read their own data independently?
There could still be frameworks to make handling configuration data easier.
Jim
--
Jim Fulton mailto:[EMAIL PROTECTED] Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
_______________________________________________
Zope3-dev mailing list
[email protected]
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com