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

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


On Tuesday 07 February 2006 00:31, suresh wrote:
> > No it is not. Explicit is better then implicit. "declareSite" creates a
> > new site in the sites mapping. We use this pattern for layers and skins
> > already.
>
> Can you have <site...> directives without a corresponding
> <declareSite...>? What would that achieve?

Probably not. In this case the <site name="foo"> directive would raise an 
exception saying that no site with name "foo" exists.

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