Page 2 of 2

Re: data storage

Posted: Thu Oct 20, 2011 6:30 pm
by k1net1k
If you need to store a couple of strings, use a comma separated text file
If you want to save configurations, xml or something similar
If you want structured queries use SQL (or write your code differently so it doesnt need data supplied like that)
If you think you can do better, write your own file format and parsing.
If you are going to be sending these files between users, then you will have to export from your DB, into some format like JSON or XML or whatever to pass it to other users anyway. (again unless you roll your own for this as well)
I personally would stay well clear of Access DB's

Re: data storage

Posted: Thu Oct 20, 2011 7:03 pm
by mattheweston
Upon further consideration I think I 'll go with binary files. I figure I can separate different things into different files and then use something similar to a pak file to combine them for easy storage/transport.

Re: data storage

Posted: Fri Oct 21, 2011 9:34 am
by Falco Girgis
mattheweston wrote:Upon further consideration I think I 'll go with binary files. I figure I can separate different things into different files and then use something similar to a pak file to combine them for easy storage/transport.
Smart man. ;)