Matthew Wilkes wrote:

> Right, but I think mixing the two is just going to be confusing.  Your  
> alternative spelling may well be useful, but only if it works within  
> the confines of the ZCA itself, otherwise you're just hijacking the  
> component root for your own (nefarious) purposes.

The site manager != the component site. In Plone, getSite() returns the 
Plone site object; getSiteManager() returns an IComponents instance or 
whatever that interface is. So making that implement the dict API is OK.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to