I always found configuration overrides (e.g. ZCML's <includeOverrides>
directive) to be difficult to manage and hard to get right.

How about an alternative where you can put a priority on a
configuration context like so:

  <adapter zcml:priority="100" ... />

Default priority would be 0, traditional overrides get the maximum
priority. ZTK components might then all be at the default priority,
making it trivial to add a preferred component in a custom setup.

If accompagnied by a sane amount of logging output, this system might
facilitate plugging in components "for the rest of us".

\malthe
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to