I allow myself to describe my experience. Here's how I'm doing now:<br><br>1) all 3rd registrations - in src/myproject/require.zcml, instead of etc/site.zcml<br>2) in etc/ directory - 2 configuration files: deploy.zcml and debug.zcml instead of site.zcml. Examples: <a href="http://paste.lisp.org/+2GF8">http://paste.lisp.org/+2GF8</a>.<br>
3) src/configure.zcml contains, first, <include file="require.zcml" />, and second <include package="..." /> for nested packages of my project, and, sometimes, custom directives.<br>4) in etc/ directory I prefer to put debug.conf, deploy.conf and zeo.conf.<br>
5) in tests/ftesting.zcml: <include package="myproject" /> (i.e. src/myproject/configure.zcml) and custom directives for set up test environment.<br><br>I use exact this structure of zcml files in production BB rpojects right now and I find it pretty convenient.<br>
<br>Summary, I always need, in any project (and any server-side project is not "hello world", yes?) different configuration for developer's sandbox and for staging server and for production server, and I always need zeo client mode, and of course, zcml includes for 3rd packages always the same (or about) for the functional tests.<br>
<br>Regard.<br><br>2010/9/16 Michael Howitz <span dir="ltr"><<a href="mailto:mh@gocept.com">mh@gocept.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Am 16.09.2010 um 11:00 schrieb Baiju M:<br>
[...]<br>
<div class="im">> In the initial few releases (0.1,0.2 etc.) we had an "application.zcml"<br>
> inside "src/pkg". This file was included from site.zcml & ftesting.zcml<br>
> I am fine with bringing back this idea. What others think ?<br>
<br>
</div>+1 This seems to be the right way.<br>
<br>
Yours sincerely,<br>
<font color="#888888">--<br>
Michael Howitz · <a href="mailto:mh@gocept.com">mh@gocept.com</a> · software developer<br>
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany<br>
<a href="http://gocept.com" target="_blank">http://gocept.com</a> · tel +49 345 1229889 8 · fax +49 345 1229889 1<br>
Zope and Plone consulting and development<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
bluebream mailing list<br>
<a href="mailto:bluebream@zope.org">bluebream@zope.org</a><br>
<a href="https://mail.zope.org/mailman/listinfo/bluebream" target="_blank">https://mail.zope.org/mailman/listinfo/bluebream</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ilshad R. Khabibullin<br><a href="http://astoon.zwiki.org">http://astoon.zwiki.org</a><br>+7 922 600 56 06<br>