Hi Edward,<div><br></div><div>Philipp&#39;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 etc. </div>
<div>- People now use zc.buildout commonly for creating instances and distributing applications. </div><div>-  zopeproject is one recipe for zc.buildout way of doing things. </div><div>- People in the zope 3 development community are generally using zc.buildout </div>
<div>- zopeproject based buildouts I believe can be distributed in its entirety. They contain all the eggs necessary for your application. </div><div><br></div><div>I for myself, have continued to stick with the Zope 3.3.1 for this long as Philipp&#39;s book covered it in quite detail and migrating to the newer ways of organizing applications would require some work.</div>
<div><br></div><div>For more information about buildout, please visit <span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;; font-size: 12px; white-space: pre; "><a href="http://www.buildout.org/">http://www.buildout.org/</a></span></div>
<div><span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;; font-size: 12px; white-space: pre;"><br></span></div><div><br></div><div>With regards,</div><div>- Shailesh</div><div><br></div><div><br></div>
<div> <br><br><div class="gmail_quote">On Tue, Jun 2, 2009 at 6:12 AM, Edward Zwart <span dir="ltr">&lt;<a href="mailto:ed.zwart@softserv.ca">ed.zwart@softserv.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sat, May 30, 2009 at 12:00 AM, Shailesh Kumar &lt;<a href="mailto:shaileshk@gmail.com">shaileshk@gmail.com</a>&gt; wrote:<br>
&gt; Web component development with Zope 3 by Philipp von Weitershausen has been<br>
&gt; my best resource on zope 3 developement all these years. Find more about<br>
&gt; this book at : <a href="http://worldcookery.com/About" target="_blank">http://worldcookery.com/About</a><br>
<br>
</div>Thanks Shailesh, I&#39;m reading this book now actually!  I&#39;m following<br>
along, and see where I was confused before.  I had inherited an<br>
instance created with zopeproject<br>
(<a href="http://pypi.python.org/pypi/zopeproject" target="_blank">http://pypi.python.org/pypi/zopeproject</a>).  When I follow<br>
Weitershausen, I use mkzopeinstance, and get the following directory<br>
structure in the instance folder:<br>
<br>
bin/<br>
etc/<br>
lib/<br>
log/<br>
var/<br>
<br>
But running zopeproject produces:<br>
<br>
.installed.cfg<br>
apidoc.zcml<br>
bin/<br>
buildout.cfg<br>
debug.ini<br>
deploy.ini<br>
develop-eggs/<br>
log/<br>
parts/<br>
setup.py<br>
site.zcml<br>
src/<br>
var/<br>
zdaemon.conf<br>
zope.conf<br>
<br>
setup.py is a new config file, and site.zcml and zope.conf are in the<br>
root directory now instead of etc.<br>
<br>
Weitershausen deals with setup.py in the last chapter (of the 3rd<br>
edition anyway) when talking about distribution, and he mentions a<br>
layout similar to this.  But zopeproject seems to be &quot;the way to get<br>
started&quot; not the way to distribute... so I&#39;m confused again.<br>
<br>
Can anyone explain the difference of these layouts/approaches to me?<br>
Much appreciated!<br>
<font color="#888888"><br>
e.<br>
</font></blockquote></div><br></div>