Re: Vista makes me crazy, please help.
- From: "Bob Butler" <noway@xxxxxxxxxxx>
- Date: Mon, 17 Nov 2008 08:01:09 -0800
"Dave O." <nobody@xxxxxxxxxxx> wrote in message news:uUU9FqMSJHA.4764@xxxxxxxxxxxxxxxxxxxxxxx
"MM" <kylix_is@xxxxxxxxxxx> wrote in message news:bq23i4t64ah3afm6rjru03jepg9f0qbncf@xxxxxxxxxx
I simply cannot see any
benefit for an app to use the Registry for storing interim session
data or default settings.
It keeps the data in one place in a consistent structure
I never saw an advantage to keeping totally unrelated data in a single place; if anything that just means that if a problem occurs you lose all info for all apps instead of just one set.
It avoids the problem of multiple INI files for different logins, your method would either require a complex INI or separate installations for each login.
It's hardly complex to have the filename or the section name contain the user ID if that's necessary or to place the INI under the user's app data folders. It's not that different than letting the OS use the current user to select the values to read.
It saves disc space by replacing myriad little files with a few big ones
The overhead of the registry index structure cuts into that but even if it still saves space it is a small advantage that is utterly swamped (IMO) by the advantages of the individual files.
As it (should be ) buffered it (should be) far faster.
There is some buffering on INI files as well and unless you are doing a LOT of reading and writing settings the speed just is not an issue.
Possibility: In-built simple parity based error correction
Possibility: History, allowing for rolling back or at least a level or two of undo
Lots of things could be done to improve INI (or even XML) file handling as well
Now all the above are what a "registry" should be, unfortunately, well you know the rest.......
Yes, it's not a great implementation but even if it were improved the basic concept of the single storage area for everything is just not a good one IMO. YMMV (and apparently does <g>) The registry is good for public info but inappropriate for internal app settings and data.
.
- References:
- Vista makes me crazy, please help.
- From: Jack
- Re: Vista makes me crazy, please help.
- From: Jack
- Re: Vista makes me crazy, please help.
- From: Kevin Provance
- Re: Vista makes me crazy, please help.
- From: mayayana
- Re: Vista makes me crazy, please help.
- From: Tom Shelton
- Re: Vista makes me crazy, please help.
- From: Dave O.
- Re: Vista makes me crazy, please help.
- From: MM
- Re: Vista makes me crazy, please help.
- From: Dave O.
- Vista makes me crazy, please help.
- Prev by Date: Re: Vista makes me crazy, please help.
- Next by Date: Re: Vista makes me crazy, please help.
- Previous by thread: Re: Vista makes me crazy, please help.
- Next by thread: Re: Vista makes me crazy, please help.
- Index(es):
Relevant Pages
|
Loading