- Feb 13, 2003
- 26,256
- 406
- 126
This is sort of a general question but I would like to get some opinions on how you guys decide how to store data for an application.
While a database like SQL Server is an obvious choice, what I'm more interested in is data storage for applications that are stand-alone on a user's computer and do not connect to any central server. Obviously not everyone has SQL Server or Express so you cannot use that to store data.
What other options are there? XML files would be easy enough to read/write but they do not seem suitable for larger amounts of data. Say you have a multiple generic Lists of different business objects that you'd like to store. Normally I'd write them to a database, but how would you store these without a database?
My working with data storage has been basically confined to databases so I do not have much experience with this sort of thing and would like to hear what others have done. What lead me to this question was an application I was thinking of writing in my spare time just for fun/learning where I would store keywords/tags of photos, like a photo album, but I was not sure how I would store/retrieve the data.
While a database like SQL Server is an obvious choice, what I'm more interested in is data storage for applications that are stand-alone on a user's computer and do not connect to any central server. Obviously not everyone has SQL Server or Express so you cannot use that to store data.
What other options are there? XML files would be easy enough to read/write but they do not seem suitable for larger amounts of data. Say you have a multiple generic Lists of different business objects that you'd like to store. Normally I'd write them to a database, but how would you store these without a database?
My working with data storage has been basically confined to databases so I do not have much experience with this sort of thing and would like to hear what others have done. What lead me to this question was an application I was thinking of writing in my spare time just for fun/learning where I would store keywords/tags of photos, like a photo album, but I was not sure how I would store/retrieve the data.
