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

suresh suresh_vv at yahoo.com
Tue Feb 7 00:31:15 EST 2006


Stephan Richter wrote:
> On Friday 03 February 2006 17:23, Dieter Maurer wrote:
> 
>>Stephan Richter wrote at 2006-2-3 12:45 -0500:
>>
>>>...
>>><declareSite name="mysite" />
>>>
>>><site name="mysite" />
>>> <!-- normal directives here. -->
>>></site>
>>
>>The "declareSite" looks redundant. I see at the "site name='mysite'"
>>element that a site with name "mysite" is declared...
> 
> 
> 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?

Suresh



More information about the Zope3-dev mailing list