Ilshad Khabibullin a écrit : > Yet another way. > > If BB use only WSGI, and use several different .ini files for `paster > serve` then it can be easier to define in etc/ several .conf files. I.e. > not zope.conf, but dev.conf, deploy.conf, zeo.conf. And each .conf file > has `site_definition` to different site.zcml (then it is not site.zcml - > but dev.zcml, deploy.zcml, and etc). > > Thus we have several .conf files and several .zcml file (from paster > template - just with corresponding names for simplicity). > > Thus, to switch from development to production - no need to run > bin/buildout -s specific.cfg. > > Thus, drop `templates`.
+1 ! I've just tried in a working branch, it's much simpler. http://svn.zope.org/repos/main/bluebream/branches/ccomb Please tell if you have other ideas as soon as the apidoc works again, I will include it in the site.zcml conditionnaly on the devmode. > > 2010/4/23 Baiju M <[email protected] <mailto:[email protected]>> > > On Fri, Apr 23, 2010 at 4:22 PM, Christophe Combelles <[email protected] > <mailto:[email protected]>> wrote: > > Ilshad Khabibullin a écrit : > >> -1 > >> > >> I think it is good to use /tempates. > >> Otherwise - we need use recipe zc.zope3recipe and write zcml in > >> buildout.cfg. > >> > >> Why? > >> > >> Note, generally, we need use different size.zcml and zope.conf in > >> different installations: development and production. Even we use 3-4 > >> variants (production, staging site, developer). > > > > I'm ok for keeping the templating but we must make it useful. It > currently is > > not. I have a suggestion for using it in my next message. > > Ok, we will keep it as such for now. At least it shows a "usage > pattern" for templates. > > Regards, > Baiju M > _______________________________________________ > bluebream mailing list > [email protected] <mailto:[email protected]> > https://mail.zope.org/mailman/listinfo/bluebream > > > > > -- > Ilshad R. Khabibullin > http://astoon.zwiki.org > +7 922 600 56 06 _______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
