I am working on a small statistics app in Python. In order to make my data persistent, I am hesitating between these three solutions:
XML or YAML (both are file based) or Sqlite (an embedded db solution). Here are in my opinion the advantages of each one:
XML: File based, it is the most widespread solution. That would ensure both portability and durability as XML is not about to disappear any time soon.
YAML: File based, not as widespread than XML, I love that it's easy to read and easy to manipulate.
Sqlite: DB. I won't really need the consuming power of SQL, unless the application grows and I ever decide to put a web front-end.
What are your impressions and thoughts? Do you have any experience with any of those?
XML or YAML (both are file based) or Sqlite (an embedded db solution). Here are in my opinion the advantages of each one:
XML: File based, it is the most widespread solution. That would ensure both portability and durability as XML is not about to disappear any time soon.
YAML: File based, not as widespread than XML, I love that it's easy to read and easy to manipulate.
Sqlite: DB. I won't really need the consuming power of SQL, unless the application grows and I ever decide to put a web front-end.
What are your impressions and thoughts? Do you have any experience with any of those?