Help with data

SammaelMH

New member
Jul 13, 2013
5
0
0
Hello guys.
I'm making an app to make some rpg character sheets.
This app will save some local data.
So, it's better to use files or a database to keep this data? And why?
Also, I'll have some info, like spell descriptions. For this, db or files?
(I'm thinking to use SQLite as DB)

Thanks :)
Cheers!
Sam
 
If you are going to have simple settings or just small amount of info I should prefer to use files, but in case you will have some collections of data and you have to look for some of rows, updated only small parts, sync etc it's better to use DB. I am building some kind of calendar app and file is not the case there.
Cheers
 
If there is not much rows of data, I would create 'database' as an object and then store it serialized on disk (simple object with var List<> of rows maybe). A real DB should be faster and consume less memory. How much data do you have?
 

Members online

Forum statistics

Threads
339,401
Messages
2,262,422
Members
428,755
Latest member
Big.blakdog