[Zope3-dev] EventService, references, and subscription semantics
Ken Manheimer
klm@zope.com
Mon, 25 Feb 2002 18:05:04 -0500 (EST)
On Mon, 25 Feb 2002, Steve Alexander wrote:
> Shane Hathaway wrote:
>
> > class IReference (Interface):
> > """Provides a way to find an object without necessarily keeping a
> > strong reference."""
> >
> > def dereference(context):
> > """Returns the referenced object."""
>
> <deletia>
>
> > The nice thing is you can encapsulate both strong and weak references
> > this way. The reference could hold an absolute path, a relative path,
> > the object itself, a URL, a database query, etc.
>
> The nice thing with Zope 3 is that we can define an IReferenceLookup
> utility, so we can ask for an IReference adapter for a particular
> object, and get an appropriate IReference.
>
> Hmmm... this could work well with the EventChannel and ObjectHub.
Yes!
--
Ken
klm@zope.com