[Zope3-dev] Re: [z3-five] zcml questions
Chris Withers
chris at simplistix.co.uk
Wed Sep 27 02:49:39 EDT 2006
Dieter Maurer wrote:
> Chris Withers wrote at 2006-9-25 18:44 +0100:
>> ...
>> Can we have a papal edict that zcml that has side effects is a bug?
>> (including the dotted name thing...)
>
> Hm: the purpose of "zcml" is to have side effects (register things,
> patch classes with marker interfaces, add permissions, ...)
Yes, but this shouldn't be done at parse time, only at some later
"realise" step once _all_ zcml has been parsed.
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope3-dev
mailing list