i'm working on this new system which give the option for the user to choose which system method his/her system will work on, eg: file system or database system. when installing the system they can choose the option file or database, assume that user chosed db system, later on the user can again change into databse system, is it ok to give an option like that to change when ever the userr prefers, and how can the system recognize which system its running on file or db? i thought of writing it into config file, but the that file contains other important information too.. it's not good to write in to that file that often right? should i use a nother file to write on or same config file? if config file how can i write to it? assume it has a veraible called,
and when user change it to database;
but that way have to modify file, but can't just write into it only to change that variable right?
so any ideas???