[Zope3-dev] questions about ZConfig and ZCML
Phillip J. Eby
pje at telecommunity.com
Mon Jul 12 12:17:40 EDT 2004
At 10:45 AM 7/12/04 -0500, Kent Tenney wrote:
>Howdy,
>
>I am working on some routines which use PIL to generate
>images and corresponding html snippets, and
>am looking at ways to define them with configuration files.
>ZConfig seems like a good fit.
>
>At some point I'd like to port this code to Zope3, which seems
>all about ZCML.
>
>It's not clear to me whether I should I be looking
>towards using ZConfig or ZCML, and whether ZCML is available
>outside of Zope.
If you like ZConfig, feel free to use it. :) If for some reason you
should need to access this kind of configuration from ZCML, you can always
create a ZCML tag that reads a ZConfig file, since ZConfig is included in
Zope 3. In this way, your code will be usable either with or without Zope 3.
More information about the Zope3-dev
mailing list