[whups] Re: Whups Links (Patch)

Chuck Hagenbuch chuck at horde.org
Thu Mar 6 16:56:24 PST 2003


Quoting Jeroen Huinink <j.huinink at wanadoo.nl>:

> What I did now was I allowed the ability to link into tickets. I could
> however also imagine that it would be usefull to link into modules
> (clients) or even versions (e.g. documentation stored in Gollem).

Definitely.

> This would need some extension to the Link class because at the moment you
> can only link into an application in one specific way (that's what the
> to_application parameter is for). We either need an extra parameter to
> specify the application's object type we want to link into or extend the
> to_application parameter with an object type e.g. "projects/module",
> "projects/client".
> 
> This last method seems nice because we would not need to bother
> application that only have one object type.

I agree - seems elegant and like it fits nicely with the rest of the
Registry/Links API.

> 1. Do we want/need this?

Yes.

> 2. If so, any preference on how to handle multiple application object
> types in Links?

The 'projects/ticket', 'projects/module', etc. solution sounds best to me.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
I know there's fish out there, but where g-d only knows.


More information about the whups mailing list