30 September 2007

znOptions -- application options file library

Here is the first problem I want to tackle. I have, as yet, been unable to find a good options save/load library to manage application settings.

On the flip-side, I have found a very interesting post on MSDN describing exactly what I want to do. However, I have no interest in using the registry and aggressively advocate self-contained cross-platform projects (think Mono and Portable.NET). Thus, I will use the second method described on that page in order to create a more functional way to save and load settings while hiding the details from the developer.

Interestingly, there is an OCaml library named config_file, part of the Cameleon2 system, that does something exactly like this. The primary reason not to use this (other than it being the easy way out) is to learn more about F#'s interaction with the rest of the .NET API and to learn a little more about .NET's XML manipulation capabilities in the process.

Thanks and regards.

No comments :

Post a Comment