> What we would like to do is avoid registry importing from so many of the
> other apps, to avoid the circular dependencies.
> 
> To do this we are currently looking at having ISomething interfaces in
> the apps (bugs, code, soyuz etc.) that define an interface relevant to
> them. This is standard practice for a lot of things, see IBugTarget,
> IHasBranches etc.

When the issue of circular dependencies first came up, we decided to
stumble along until we could use a planned newer version of Zope which
would allow us to use some kind of deferred reference. I didn't follow
this development very closely, so I don't know if this feature actually
made it into Zope, but if so it seems like a simpler solution to your
problem than creating a lot of adapters.

Leonard

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to