[Zope3-dev] local-utility location and registration

Jim Fulton jim at zope.com
Tue Jul 5 06:15:51 EDT 2005


Garanin Michael wrote:
>                                                                           
> Hello!
> My app setup code do follow step:
> 1) create simple AppSite (as ISite) in top
> 2) create local-utility object, 
> for example PAU = PluggableAuthentication()
> 3) AppSite['PAU'] = PAU 
> 4) registration the PAU in AppSite/++etc++site/default.
> 
> In other words: local-utility object location in top/mysite, but
> registration in top/mysite/++etc++site/default.
> Q: It's work, but is it legal?
> Thanks!

It is not supported.  We really need to clean this area up
a lot.  I hope to make some progress on this in Zope 3.2.
There won't be any backward-compatibility code to support
unusual usages like yours.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list