[Zope-dev] Context priority as an alternative to configuration directive overrides
Chris Withers
chris at simplistix.co.uk
Fri Dec 3 05:59:45 EST 2010
On 03/12/2010 10:51, Malthe Borch wrote:
> On 3 December 2010 11:41, Chris Withers<chris at simplistix.co.uk> wrote:
>> I'd much prefer it to just be an "order of execution" thing, the nyou have
>> total and flexible control. Combined with some logging about why something
>> is as it is and you have your solution.
>
> It's not always possible to control the order of execution.
It's *always* possible, zcml is essentially one big declarative file...
> For
> instance, with z3c.autoinclude, the order of inclusion is somewhat
> random and although you can to some extend control the order via
> explicit dependency includes, it's hard to work around 3rd party
> packages that provide own overrides.
...anything else is just a kludge or a hack. The Plone world is full of
these, of course, but I'd prefer not to polute zcml with that.
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope-Dev
mailing list