From: Chad Perrin Date: 2012-10-18T02:38:07+09:00 Subject: Re: database part of a desktop application On Wed, Oct 17, 2012 at 01:39:21PM +0900, sto.mar@web.de wrote: > Am 16.10.2012 23:24, schrieb Chad Perrin: > >On Wed, Oct 17, 2012 at 05:28:39AM +0900, Sebastjan H. wrote: > >>Hi, > >> > >>I've tried to find a solution on the forum and google prior to opening a > >>new topic, but I am still not clear on this so here goes. > >> > >>I would like to make a desktop application for flashcard learning. The > >>biggest question for me right now is which approach to take for the > >>database part of the application. I have no experience with creating and > >>using databases in ruby so I just need to know which option to choose > >>according to the purpose of the app so I can learn further about it. > >> > >>As I said, it would be an application for creating flashcards for > >>learning a foreign language. Each card would have some attributes and of > >>course there would be the usual flashcard logic to the whole app. > >> > >>What kind of database would be best for this? > > > >Depending on the volume of data you wish to store, something simple and > >hierarchical like YAML might serve well. If you need a bit more than > >that, you might look into SQLite. It seems unlikely, from what you've > >said, that you'd need much more than that. > > > > What about PStore or YAML::Store? Those should work just fine. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]