[Qt-interest] Data Storage for QT Application

Ross Driedger ross at earz.ca
Fri Feb 5 11:23:31 CET 2010


On 5-Feb-10, at 3:21 AM, qt-interest-request at trolltech.com wrote:

>
> What?s wrong with just using a file? You can use QTextStream to read  
> and
> write it.

In my bitter experience, a simple little file like this ends up being  
neither simple or maintainable.

Of course, YMMV.

> XML seems like overkill to me. That?s nice if you want to work with
> structured data with different types, and/or want to be able to deal  
> with
> extensions nicely, but it seems you don?t need all that.

My philosophy on this is to structure it right away as opposed to  
possibly (or rather, inevitable) rewriting it later.


Ross Driedger
ross_at_earz.ca







More information about the Qt-interest-old mailing list