[Zope-dev] Re: zope.sqlalchemy, integration ideas

Benji York benji at zope.com
Fri May 30 13:55:44 EDT 2008


On Fri, May 30, 2008 at 1:40 PM, Brian Sutherland
<brian at vanguardistas.net> wrote:
> I've just decided to jettison IAbsoluteURL and make a new interface
> ICanonicalURL. The adapters for ICanonicalURL are available anywhere
> without specially wrapping the object in a location proxy.

IAbsoluteURL doesn't neccesarily require a location proxy, it's just that the
default implementations require objects to implement ILocation.

No need to define your own interface, just override the IAbsoluteURL
implementation(s) you don't like to behave differently (or better yet, don't
let them get registered in the first place).
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Zope-Dev mailing list