Hi folks,
I talked with Ralf about the issue that the SyncML backends suffer from
growing “supported-fields” arrays for the different devices. These
"supported-fields" manage the mapping of device<->eGW fields and differ
from device to device. Since this will be a growing list in future and
Ralf mentioned that other SyncML servers handle that settings with XML
files, here is my proposal:
We create a folder where .ini files are stored. These ones can be easily
read with PHPs “parse_ini_file” to arrays, e.g.:
syncml/devices/nokia-e61.ini
syncml/devices/nokia-e51.ini
syncml/devices/sonyericsson-p910i.ini
syncml/devices/funambol-thunderbird.ini
the files could look like this:
[contacts]
ADR;WORK = “adr_one_street,adr_one_locality,adr_one_region”
…
…
[calendar]
…
…
Furhtermore, the default files distributed by eGW can be overriden with
custom files:
syncml/devices/nokia-e61.ini
syncml/devices/nokia-e61-custom.ini << CUSTOM FILE
syncml/devices/nokia-e51.ini
syncml/devices/nokia-e51.ini-custom.ini << CUSTOM FILE
syncml/devices/sonyericsson-p910i.ini
syncml/devices/funambol-thunderbird.ini
This enables admins to have (and keep) their custom settings for special
purposes.
What do you think?
Bye
christian
Apps built with the Adobe® Flex® framework and Flex Builder™ are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse™based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers