Lennart Regebro wrote:
On 5/9/06, Jim Fulton <[EMAIL PROTECTED]> wrote:
- Speed up restart. I think there are a lot of ways that restarts
can be made faster:
o Load less. A Zope 3 application that only loads what it actually
uses will load much more quickly than a full Zope 3 checkout.
Just a brainstormy idea:
One thing I like with Python imports which ZCML doesn't do, is that it
only loads things that really are imported.
I don't understand this. ZCML doesn't get magically loaded unless it
is explicitly included. ZCML directives only load modules they refer
Maybe there could be a way
to say which products you depend on in ZCML, and only load the ZCML of
these? Kinda like a zcml-import, but not creating problems if you
import it twice?
There is. It's called "include".
Jim Fulton mailto:[EMAIL PROTECTED] Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
Zope3-dev mailing list