On Tuesday 07 February 2006 07:08, suresh wrote: > > Probably not. In this case the <site name="foo"> directive would raise an > > exception saying that no site with name "foo" exists. > > In which case I tend to agree with Dieter that <declareSite ...> is > redundant and ZCML ceremony that we can without! If that pattern is > being used elsewhere, may be we can eliminate it everywhere in one > refactoring :)
It is definitely not redundant. It creates a site. We do not want to implicitly create sites. To repeat myself again: EXPLICIT IS BETTER THAN IMPLICIT! Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-dev mailing list [email protected] Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
