PDA

View Full Version : Database vs Configuration files



bunjee
10th July 2013, 11:48
Dear Qt centers,

I’m writing a GPL “media player” application.

I’m saving and loading tracks and playlists from XML files.
I found that writing and reading XML is a little bit tedious.

I was wondering if switching to a SQL database would be a good idea.



Is it smarter than traditional configuration files ?
Would it hurt performance ?
Should I run it from a thread ?


Thanks guys ♥ !

Ginsengelf
10th July 2013, 12:32
Hi, personally I don't like program configuration in databases because you can't read/write it as a human without additional tools. I prefer traditional config files, no matter which format (XML/Ini-like/...)

Ginsengelf