Stephan Richter wrote at 2006-2-5 09:32 -0500: > ... >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.
If it *creates* something why itn't its name "createSite" (rather than "declareSite"). And what does "site" as it apparently does not create nor declare a site? -- Dieter _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com