[dev] Gollem and UIDs

Jan Schneider jan at horde.org
Thu Feb 12 12:54:33 UTC 2009


Zitat von duck <duck at obala.net>:

> On Thursday 12 February 2009 11:02:14 Jan Schneider wrote:
>> Zitat von duck <duck at obala.net>:
>> > I was trying to create and Ansel VFS driver where galleries will be
>> > folders and images their files. I incounter a limitation in Gollem. Every
>> > VFS driver user filename as unique identifier in listFolder(). But latter
>> > Gollem uses the
>> > file/folder name for link creation. Is there any reason for this?
>> > Otherwise it
>> > can be changed to allow files with same names to reside in same folder
>> > (ex uploaded multiply images with the same name in a gallery) and
>> > properly display
>> > names of galleries (using id for identifier and name for in the
>> > human readable
>> > list).
>>
>> There already is a "horde" VFS driver which uses the "browse" API
>> methods to map a Horde installation into a file system. That should
>> also work with Ansel.
>
> Of course is an non-configurable read only implementation. Attached is an

Well, it was a proof-of-concept. It could be extend for writability.

> read/write implementation of Ansel api. The only problem (as it is in horde
> driver) is that we see IDs instead of human readable names.

But that's an intrinsic "feature" of the VFS, as Chuck explained.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list