phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [phpGroupWare-developers] linking items across applications


From: Dave Hall
Subject: Re: [phpGroupWare-developers] linking items across applications
Date: Mon, 29 Oct 2007 14:25:07 +1100

On Sun, 2007-10-28 at 10:10 +0100, Maat wrote:

<snip />

> nice start

Attached is the stubbed class and generated documentation for it.

> 
> a few things at first reading :
> 
> 'app1_name' => name
> 'app2_app' =>  app !? (little typo ?)

You get the idea :P

> 
> 'app1_id' => array('type' => 'int','precision' => '4','nullable' => False),
> 'app2_id' => array('type' => 'int','precision' => '4','nullable' => False),
> 
> => what if targeted object id is a string or something more complex ?

That will make the indexing a lot more bloated.  I already have issues
with the user of "appname", "location" and other strings everywhere in
the phpgw db.

> perhaps we need also :
> 
> -- something to make link inactive without deleting it
> -- something to define a date when the link becomes active... and a date when 
> the link stops being active

These could be added to the schema.

> -- something to define the "type" of the link

I don't really see much of a point for this.


> i wonder if 'is_private' approach  will be enough  for acl control on
> links

How else would you implement it?

Cheers

Dave

Attachment: interlink.zip
Description: Zip archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]