Philipp von Weitershausen wrote at 2006-3-5 18:17 +0100:
> ...
>Looking at your examples (especially the long one), I find the ZConfig
>version much easier to read.

While ZConfig allows you the describe related material together
and without indirections, the ConfigParser format forces you
to introduce indirections and to spread related definitions
over a longer area.

An example: the logger configuration.

In ZConfig:

   <eventlog>
     <handler1>...</handler1>
     ...
     <handlern>...</handlern>
   </enventlog>

In ConfigParser:

   [eventlog]
     handlers = handler1 ... handlern
   
   [handler1]
     ...
   [handlern]


As locality facilitates readability and understanding,
ZConfig files tend to be easier to read and understand
than ConfigParser ones.

-- 
Dieter
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to