PDA

View Full Version : Best way to store (alot of) text?



DarkAmbient
December 10th, 2010, 01:42 PM
Got this project that has a gtk gui, but it's mainly text-based on the "game-side". Think dynamically self-written book...

Haven't started writing anything for that part just yet, as I'm unsure how to best implement and fetch the correct "strings" in runtime.

I could just save everything to text-files. But then, I'm not too fond of possibility that anyone can alter them easily.

Ofcourse it shouldn't be too difficult to fetch the piece of text thats needed (under runtime). Also, one requirement would be that the application should be easy to translate. So perhaps storing everything in a database could be something?

Anyone else here done something similar? And what method did you use then?