[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] Re: ClientInterface (was Re: Fwd: [PATCH] kernel / UI
From:       Martin Konold <martin.konold () erfrakon ! de>
Date:       2003-07-21 8:38:13
[Download RAW message or body]

Am Montag, 21. Juli 2003 04:38 schrieb Don Sanders:

Hi Don,

> > If you want different clients to concurrently access the mail
> > storage use IMAP.....
>
> The problem with this suggestion is that even for IMAP KMail needs a
> local representation of what's on the server. eg. dimap uses a
> maildir representation.

No, this is not an issue at all. By definition dimap uses a _private_ local 
cache. No external program is under any circumstances allowed to make any use 
(reading or writing) of this cache. The fact that the current code uses the 
maildir format is completly irrelevant here. dimap could also have been 
implemented using some object serialization method. 
Maildir was simply chosen because it is a reliable and performant data 
structure to store mail data on disk.

> We want to allow multiple clients to access this local representation.

Why? It makes definetly _no_ sense in the dimap case.

> Thus we have a case of multiple processes (one for each client)
> accessing a shared resource (the local representation) and hence we
> need a mechanism to manage access to that resource.

I am afraid that your presumptions are invalid initially.

> > IMHO the current proposal is completeley overengineered and
> > reinventing the wheel.
>
> It's the simplest solution I know of and in my opinion the only
> feasible solution presented thus far.

I think we have to go back to defining the problem before trying to find the 
solution.

Yours,
--martin

Dipl.-Phys. Martin Konold
e r f r a k o n
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
Nobelstrasse 15, 70569 Stuttgart, Germany
fon: 0711 67400963, fax: 0711 67400959
email: martin.konold@erfrakon.de

_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic