[Zope-dev] Re: zcml entry points

Martin Aspeli optilude at gmx.net
Thu Oct 18 08:56:33 EDT 2007


Tres Seaver wrote:

> I may not *want* the other package's ZCML to be loaded:  some of its
> policies may not be appropriate for my application.  I think that the
> "library" vs. "pluggable application" distinction is valid here:  maybe
> you want to define an entry point in the egg which a given pluggable app
> would use at startup time to configure all the plugins which exposed
> that entry point.

+1

> Five fakes such an entry point now by implicitly
> loading meta.zcml, then configure.zcml, then overrides.zcml for all
> packages it recognizes as products:  are you proposing to replace Five's
> DWIM with a new, explicit version?

That may be preferable, but quite hard from a BBB perspective. Right now 
all kinds of products exist that just expect their ZCML to be 
automagically loaded.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book



More information about the Zope-Dev mailing list