[turba] WebDAV Directory Layout for Global Address Books

Ben Klang ben at alkaloid.net
Mon May 5 22:37:36 UTC 2008


Greetings List,

I am in the process of working Horde ticket #6594 which aims to  
change the way addressbooks are laid out when viewed through WebDAV.   
Due to other requirements we will be moving per-user addressbooks  
into folders for each username.  Example:

turba
   |- user1
   |     |- addressbook1
   |     |     |- contact1
   |     |     \- contact2
   |     \- addressbook2
   |           \- contact3
    \- user2
           \- addressbook2

There arises, however, a question about how to handle Global address  
books.  There have been two proposals:

1) Put the Global address book folders in the same level as the  
usernames.  This is probably the most obvious solution but it has two  
problems:
* First if there is ever a username that conflicts with any  
configured Global addressbook there will be a problem.  The contrived  
example of this would be the user Louis Ocalsql, with the username  
'localsql'.
* Second it gives the Global addressbooks a slightly different URL  
schema than users because there will be one fewer layers to traverse.

2) Put the Global addressbook folders in a special folder named  
"global" or "system" or similar.  The advantage here are the opposite  
of the drawbacks above. This could potentially have the same drawback  
as above (Suzie Ystem) but with just one entry it is easier to  
manage.   The main disadvantage is that it then begs the question of  
whether to localize the chosen "global" folder name or not (as  
localizing it could wreak havoc with programmatic access to the data).


Does the community have any thoughts or strong feelings about which  
option (1 or 2 above) makes the most sense?

Thanks,
/BAK/
-- 
Ben Klang
Alkaloid Networks LLC
ben at alkaloid.net
404.475.4850
http://projects.alkaloid.net




More information about the turba mailing list