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
to.

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

--
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
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to