Sorry, src/configure.zcml -> src/myproject/configure.zcml 2010/9/16 Ilshad Khabibullin <[email protected]>
> I allow myself to describe my experience. Here's how I'm doing now: > > 1) all 3rd registrations - in src/myproject/require.zcml, instead of > etc/site.zcml > 2) in etc/ directory - 2 configuration files: deploy.zcml and debug.zcml > instead of site.zcml. Examples: http://paste.lisp.org/+2GF8. > 3) src/configure.zcml contains, first, <include file="require.zcml" />, and > second <include package="..." /> for nested packages of my project, and, > sometimes, custom directives. > 4) in etc/ directory I prefer to put debug.conf, deploy.conf and zeo.conf. > 5) in tests/ftesting.zcml: <include package="myproject" /> (i.e. > src/myproject/configure.zcml) and custom directives for set up test > environment. > > I use exact this structure of zcml files in production BB rpojects right > now and I find it pretty convenient. > > 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. > > Regard. > > 2010/9/16 Michael Howitz <[email protected]> > > Am 16.09.2010 um 11:00 schrieb Baiju M: >> [...] >> > In the initial few releases (0.1,0.2 etc.) we had an "application.zcml" >> > inside "src/pkg". This file was included from site.zcml & ftesting.zcml >> > I am fine with bringing back this idea. What others think ? >> >> +1 This seems to be the right way. >> >> Yours sincerely, >> -- >> Michael Howitz · [email protected] · software developer >> gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany >> http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 >> Zope and Plone consulting and development >> >> _______________________________________________ >> bluebream mailing list >> [email protected] >> https://mail.zope.org/mailman/listinfo/bluebream >> > > > > -- > Ilshad R. Khabibullin > http://astoon.zwiki.org > +7 922 600 56 06 > -- Ilshad R. Khabibullin http://astoon.zwiki.org +7 922 600 56 06
_______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
