Is there a standard practice for storing default application data?
Posted
by Rox Wen
on Stack Overflow
See other posts from Stack Overflow
or by Rox Wen
Published on 2010-06-03T18:52:48Z
Indexed on
2010/06/03
18:54 UTC
Read the original article
Hit count: 293
Our application includes a default set of data. The default data includes coefficients and other factors that are unlikely to ever change but still need to be update-able by the user.
Currently, the original default data is stored as a populated class within the application. Data updates are stored to an external XML file. This design allows us to include a "reset" feature to restore the original default data. Our rationale for not storing defaults externally [e.g. XML file] was to minimize the risk of being altered. The overall volume of data doesn't warrant a database.
Is there a standard practice for storing "default" application data?
© Stack Overflow or respective owner