P
Patrick Tingen
Guest
For my DataDigger I use a set of .ini files. One is for settings on file datetimes so DD can recompile itself when needed, one is for user settings and one is for help messages. I chose ini files because they are human readable and can easily be edited outside of the application. Plus, everybody and his mother knows the structure of ini files. At first I used GET-KEY-VALUE and PUT-KEY-VALUE, but since DataDigger heavily uses its settings, this became a performance issue. So now I read the complete ini file into a temp-table and serve the settings from there. When settings are written, they go both to the cache TT and the ini file on disk. My read/write ratio in DD is about 100:1 so a lot is read and less is written.
Continue reading...
Continue reading...