[Zope3-dev] Zope 3 a la carte

Shane Hathaway shane at hathawaymix.org
Sat Oct 9 13:53:22 EDT 2004


On Wednesday 06 October 2004 12:54 pm, Martijn Faassen wrote:
> Fred Drake wrote:
> > It does.  What I'm not happy with is the number of packages that are
> > actually relevant.  I'd like to see fewer actual dependencies.
>
> Ah, I figured perhaps it wasn't entirely clear to the original poster
> that this was possible, though since it's Shane I'm likely deluded here.

Well, really I'm just looking for clean entry points.  For example, since I 
last wrote I discovered that zope.pagetemplate is easy to use outside the 
framework, so I can use it in place of SimpleTAL.  Here are the 
characteristics of a clean entry point:

  - has a clear purpose and intended usage
  - has a simple API, preferrably documented to increase stability
  - initializes quickly so that I'm free to use it in a short-running process
  - reliable

So it's OK to have a lot of dependencies as long as the dependencies 
initialize quickly.

Also, I'm thinking about installing all of Zope 3, except zope.app, in 
Python's site-packages.  That's what I did with Twisted, even though I use 
maybe 2% of the Twisted code.  I find it liberating to simply have the code 
available at any interactive prompt rather than having to set up a 
PYTHONPATH.

Shane


More information about the Zope3-dev mailing list