[Zope3-dev] Re: RFC: Local Component Management Simplification

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Feb 7 07:50:47 EST 2006


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


More information about the Zope3-dev mailing list