Re: Re: Whups Links (Patch)

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.whups
Message-ID <[email protected]>
Quoting Jeroen Huinink <[email protected]>:

> 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, <[email protected]>
I know there's fish out there, but where g-d only knows.

-- 
Whups mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.