[dev] Global options

Jan Schneider jan@horde.org
Mon, 19 Nov 2001 10:21:39 +0100


Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <jan@horde.org>:
> 
> > It's getting more complicated if you want to have application
> preferences 
> > that extend a preference from Horde like the identities. But I almost
> 
> > figured out how to handle this.
> 
> It's a shared preference; IMP just uses a specialized class to access the
> data. 
> All of the data is available in any application. Or were you thinking of
> some 
> other way of doing it? What are you running into trouble with here?

The problem is: If this is a shared preference it must be accessible from 
withing Horde and every application. But IMP puts features into the 
identities that aren't accessible outside of IMP like the sent-mail folder 
or doesn't make sense outside of IMP like the signatures.

This is why I have to either extend IMP's identities features with the 
globals ones or the global ones with IMP's if want to provide an ui for 
setting this preference in IMP. I tend to the latter solution.

I think it's clear why this is not trouble free! ;-)

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::