[Zope3-dev] interaction between LocationProxy and IIntId utility

Florent Guillaume fg at nuxeo.com
Fri Jul 8 13:47:13 EDT 2005


Benji York  <benji at zope.com> wrote:
> Jim Fulton wrote:
> > We don't want to *require* objects to provide ILocation.
> > 
> > I don't know what the right answer is here. I'll think about it. I'd 
> > love some good suggestions.
> 
> Perhaps an ILocation adapter that would keep the __name__ and __parent__ 
> information in a separate place (attribute annotations, or a BTree 
> somewhere).
> 
> So, instead of things getting proxied when they don't provide ILocation, 
> they would instead be adapted.

I was about to propose that too, just do object = IContained(object) and
let adapters do what's needed. That may be too naive, I don't know...

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope3-dev mailing list