[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ganymede Dev] Re: many G... questions

Date Fri, 5 Jul 2002 21:14:48 +0200 (MEST)
From Stephan Wiesand <wiesand@ifh.de>

On Wed, 3 Jul 2002, Jonathan Abbey wrote:

> The notion of a generically expirable relation, in which you can
> specifically set an expiration date for one object reference out of
> many, is a very interesting one, and one that might be feasible to add
> within the InvidDBField, at the cost of an additional memory, and a
> not insignificant complication of the linking logic.

What would be the maximum number of links that makes sense, in a directory
Ganymede can handle? 1M? A date at both ends would add some 16MB to the
memory requirements then. Wouldnt' that be acceptable?

And the linking logic has to care for the objects on both ends already.
Would it really be such a major change?

> Right now, the object relation/object linking logic is handled in a
> bidirectional fashion.  The InvidDBField logic in whatever object is
> actively being edited actually checks out the remote object and
> applies edits to that object.  Setting an expiration date on a
> relation would need to be set up so that the two sides of the link
> could likewise be kept in sync.  In addition, we'd want to have some
> way of expressing such an timeout in the GUI, somehow.

I don't know much about the swing widgets, unfortunately. Could we
paint that alarm clock used in the tree view aside any link with an
expiration date set, and have the calendar widget pop up on right click?

> If custom logic could be written in the DBEditObject class and/or in a
> custom task that would suffice to handle the unlinking without having
> to record a separate timestamp for each Invid that needed to be
> unlinked in the future, it might be easier.

Alas, different expiration dates for links to the same type of
object are just the most useful case.

> The good thing is that it's all just a matter of programming, and
> there's nothing stopping you from achieving any effect you can imagine.

Admittedly, yes. But having it as seamless as for objects themselves
would still be best and worth the sacrifice of some memory, I think.


--

 ----------------------------------------------------
| Stephan Wiesand  |                                |
|                  |                                |
| DESY Zeuthen     | phone  +49 33762 7 7370        |
| Platanenallee 6  | fax    +49 33762 7 7216        |
| D-15738 Zeuthen  | mobile +49 171 317 6367        |
| Germany          | email  stephan.wiesand@desy.de |
 ----------------------------------------------------



----------------------------------------------------------------------------
To make changes to your subscription to the Ganymede Dev mailing list, send
mail to majordomo@arlut.utexas.edu.

To unsubcribe, include the line

unsubscribe ganymede-dev

in the body of your mail message

Visit the Ganymede web page at http://www.arlut.utexas.edu/gash2

----------------------------------------------------------------------------


  • Re: [Ganymede Dev] Re: many G... questions
    • From: Stephan Wiesand <wiesand@ifh.de>