Results 1 to 2 of 2

Thread: Database vs Configuration files

  1. #1
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Question Database vs Configuration files

    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 ♥ !

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    506
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Database vs Configuration files

    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

Similar Threads

  1. QMYSQL database driver installation files
    By babygal in forum Newbie
    Replies: 28
    Last Post: 12th August 2010, 11:55
  2. Replies: 1
    Last Post: 27th August 2009, 05:41
  3. Configuration files
    By rbp in forum Qt Programming
    Replies: 3
    Last Post: 1st April 2009, 06:47
  4. Replies: 5
    Last Post: 8th April 2008, 23:10
  5. Configuration on txt files
    By baray98 in forum Qt Programming
    Replies: 1
    Last Post: 22nd January 2008, 07:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.