[Mono-list] Registry, text or binary?

Simon Waite simon@psionics.demon.co.uk
Wed, 18 Sep 2002 20:58:38 +0100


----- Original Message ----- 
From: "Everaldo Canuto" <everaldo.canuto@bol.com.br>
To: "Simon Waite" <simon@psionics.demon.co.uk>
Cc: "Mono List" <mono-list@ximian.com>
Sent: Wednesday, September 18, 2002 8:42 PM
Subject: Re: [Mono-list] Registry, text or binary?


> >
> >
> >That way if the admin wants to have mono sandboxed to 'ini' style
> >flat files, then it's possible. I advocate flat files - it's not
> >as if there will be huge amounts of data stored ... or will there be?
> >
> >Suggestions
> >ini files
> >xml files
> >berkley db
> >
> I think that Register Class implementation of  Mono must be like a MS  
> implementation,  for compatibility.
> On Windows, Register was huge amount of data, I think that it will be 
> equal in the Windows. This discards the possibility to use flat files.

I think it would be a good idea to at least allow the possibility of
isolating mono from the windows registry with a configuration option.
That way you can run a .NET application sandboxed on windows.
 
> A good ideia is the use of Berkeley DB. So...What it is better?  gdbm , 
> db2 or db3?
> What do you think about this?

Reason I brought up the text file issue, are:

1. reduces dependancies on third party libs.
2. readability - never underestimate the power of a text editor 
   to change configs
3. There is a set of (public domain?) functions written in C by
   sun http://soldc.sun.com/ntmigration/nttech/win32emulation.html
   
... not sure about the license though 

-Simon