I’ve decided to write a little program in Ruby to handle my humble financial tracking needs. It’s basically a ledger, a program to track income and expenses and do various kinds of data aggregation. I’m very comfortable in the commandline, which is why I’ve decided to keep things there, instead of making it a graphical application.
So here’s the question: What sort of back end should I use for data storage? I’ve considered sqlite, but I’m open to suggestions. If I should end up using an SQL database, should I consider using an ORM?
SQLite could be just fine – it’s easy to use from the command line, easy to back up, and easy to version, if you’d need to be able to rollback to a previous state.
There’s a nice ORM called Sequel, which I really like when doing non-Rails stuff: http://sequel.rubyforge.org/