Re: Multisync configuration storage in 0.90 and beyond

Armin Bauer <[email protected]>
Newsgroups gmane.comp.gnome.apps.multisync.devel
Message-ID <1079054690.8433.13.camel@azrael>
On Thu, 2004-03-11 at 21:56, Alex Perez wrote:
> On Thu, 11 Mar 2004, Tom Foottit wrote:
> 
> > After some discussion on IRC, we wanted to solicit opinions on how we
> > are going to do storage of the configuration of the sync engine (and the
> > plugins) for 0.90.
> > 
> > Right now we have configuration stored in:
> > * GConf
> > * XML Files
> Well, if you're going to go with XML-RPC (which persionally I'd rather see 
> over D-BUS, which has fewer implementations), I'd say use XML for 
> configuration files too, just for consistency.

I did some tests with bot xmlrpc and dbus and i liked dbus a lot more
because:
- it offers authentication (probably needed for multiuser enviroment)
- it has less overhead then xmlrpc
- we can choose wether we want to use sockets, unix sockets or the
session buses.
- it will be used by (at least) kde 4.0 (afaik)
- we can filter on messages
- we can use the activation framework for the plugins
- we get disconnect messages when clients drops
- good integration with glib

The only real downsides i see with dbus are:
- it is not ported atm (but it will be at least according to havoc)
- it is not completly stable yet

> > * Basic text (i.e. not XML) 
> This is actually what I prefer, but everyone seems to want something else 
> these days.

This is probably because parsing text files yourself is really a bad
idea...
> > 
> > We need to standardize on something going forward. I am not opposed to
> > GConf, but I would like to hear some other opinions (besides "GConf is
> > like the registry") on which format we should use for storing
> > configuration going forward.
> > 
> > Tom
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > Multisync-devel mailing list
> > Multisync-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/multisync-devel
> > 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Multisync-devel mailing list
> Multisync-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/multisync-devel



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.