[Mono-list] Registry, text or binary?
Jon Gilkison
jon.gilkison@interfacelab.com
Wed, 18 Sep 2002 16:48:43 -0400
I agree with his 0.02$ and will add my own 0.04$.
I think XML would be the default for this, for a few reasons but mainly
the xpath support for querying keys in the registry. That solves two
issues of being text-editor capable and being "searchable".
I don't suspect that the registry would be used that often from .NET
code, but I don't think it should be assumed one way or the other as to
it's usage.
I do know, from years of writing code on Windows, that registry usage in
an application, for purposes of storing config information, is common,
but the amount of registry manipulation each application may perform is
quite low. The bulk of the windows registry is COM registration and OS
specific settings.
But I definitely vote for XML.
Jon.
> -----Original Message-----
> From: mono-list-admin@ximian.com
> [mailto:mono-list-admin@ximian.com] On Behalf Of
> fgonthier@hermes.usherb.ca
> Sent: Wednesday, September 18, 2002 3:14 PM
> To: mono-list@ximian.com
> Subject: Re: [Mono-list] Registry, text or binary?
>
>
> My 0.02$
>
> IMHO, I suppose Windows uses a binary registry file because
> the Win32 registry
> quickly gets huge and managing a text file would be waaay to
> slow. In the case
> of Mono, I think there is no real reasons not to use a text
> file because I'm
> not sure registry will be used very much with .NET, let alone
> with Mono.
>
> Of course, making this a build option would be OK to me.
>
> My personal idea would have been to implement the registry
> using XML in Linux
> and use the native registry in Windows.
>
> F-D
>
> _______________________________________________
> Mono-list maillist - Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-> list
> -
>
>