[dev] Splitting the share driver

Gunnar Wrobel wrobel at pardus.de
Mon Aug 7 07:51:28 PDT 2006


Duck <duck at obala.net> writes:

> On Monday 07 August 2006 16:23, Dr. Gunnar Wrobel wrote:
>> Each share has an id as well as a name. 
>
> Seem like the recent Ansel id/name talk. In there occasion we discussed that 
> is better to use IDs. Instead of names. So we cleared the confusing api calls 
> to always refer to id. Which was even an performance enhancement.

Ah, thanks for the hint. Found the discussion at
http://thread.gmane.org/gmane.comp.horde.cvs/45532/focus=14250

My problem addresses the same conflict between share name and datatree
id.

Taking into account that most horde apps actually use a random string
as the share id I wonder if it would be a problem to use the share
name as unique id. Since the share name can currently be used to
retrieve a share I assume that the name currently has to be unique
anyway. So why is there a need for this random string?

Cheers

Gunnar

-- 
____ http://www.pardus.de _________________ http://gunnarwrobel.de _

E-mail : wrobel at pardus.de                          Dr. Gunnar Wrobel
Tel.   : +49 40 432 72335                      Hartwig-Hesse Str. 12
Fax    : +49 40 432 70855                            D-20257 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  >> Mail at ease - Kolab out of the box <<                 P at rdus
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the dev mailing list