Hi Edward,
Philipp's book (2nd edition which I use) is written with Zope 3.3 in mind.
This was released few years ago. Since then, there has been quite a lot of
evolution in terms of how zope 3 is organized, how instances are created
- People now use zc.buildout commonly for creating instances and
distributing applications.
-  zopeproject is one recipe for zc.buildout way of doing things.
- People in the zope 3 development community are generally using
- zopeproject based buildouts I believe can be distributed in its entirety.
They contain all the eggs necessary for your application.

I for myself, have continued to stick with the Zope 3.3.1 for this long as
Philipp's book covered it in quite detail and migrating to the newer ways of
organizing applications would require some work.

For more information about buildout, please visit http://www.buildout.org/

With regards,
- Shailesh

On Tue, Jun 2, 2009 at 6:12 AM, Edward Zwart <ed.zw...@softserv.ca> wrote:

> On Sat, May 30, 2009 at 12:00 AM, Shailesh Kumar <shaile...@gmail.com>
> wrote:
> > Web component development with Zope 3 by Philipp von Weitershausen has
> been
> > my best resource on zope 3 developement all these years. Find more about
> > this book at : http://worldcookery.com/About
> Thanks Shailesh, I'm reading this book now actually!  I'm following
> along, and see where I was confused before.  I had inherited an
> instance created with zopeproject
> (http://pypi.python.org/pypi/zopeproject).  When I follow
> Weitershausen, I use mkzopeinstance, and get the following directory
> structure in the instance folder:
> bin/
> etc/
> lib/
> log/
> var/
> But running zopeproject produces:
> .installed.cfg
> apidoc.zcml
> bin/
> buildout.cfg
> debug.ini
> deploy.ini
> develop-eggs/
> log/
> parts/
> setup.py
> site.zcml
> src/
> var/
> zdaemon.conf
> zope.conf
> setup.py is a new config file, and site.zcml and zope.conf are in the
> root directory now instead of etc.
> Weitershausen deals with setup.py in the last chapter (of the 3rd
> edition anyway) when talking about distribution, and he mentions a
> layout similar to this.  But zopeproject seems to be "the way to get
> started" not the way to distribute... so I'm confused again.
> Can anyone explain the difference of these layouts/approaches to me?
> Much appreciated!
> e.
Zope3-users mailing list

Reply via email to