Making your own registry

grullborg

Baseband Member
Messages
28
If at all possible, how would you make your own registry like the windows registry (only much better of course).
Would there be any software I might need?

By much better, I mean that the Windows Registry is extremely unorganized and I wish to improve on that.

This is all mainly because I want to build my own OS, but I'm not at that level yet, so I'm starting off at something a little more simple.
 
you would have to define some system, such as XML (not that XML is the ideal solution) to store key/value pairs and than design software to read those key/value pairs.

You will need notepad at the most basic level and a compiler.

Programmers do this all of the time for the software they develop.

For example:

Code:
<!-- This is my app settings in XML format -->
<MyApp>
   <name>Rufus</name>
   <location>C:\Users\Me\MyApp.exe</localtion>
<MyApp>

or

Code:
; This is my app based on text format
name = Rufus
location = C:\Users\Me\MyApp.exe
 
Before suggesting anything specific it may be worth asking what more specifically you're asking to do? What do you mean by "much better"?

Depending on the task the response could be anything from using a simple properties file to a fully blown PostgreSQL database!
 
Back
Top Bottom