How to store movie database if I would like to process it with Ruby?



I would like to store the data of my favourite movies in some kind of database, however I have no clue how to do it. I attended computer science at university but one of the most blurry things to me was the theorem of databases... I want to store the title, year of production, makers, actors, short description, long description (multiline), links to cover image, links to screenshot images, etc. My approaches:



  • In separate text files, which can be parsed with regexes.

  • In separate XML documents, which can be read / write with xml-simple Ruby gem.

  • In separate files, which was dumped with pstore / JSON / YAML

  • In a real database like SQLite, MySQL, etc.


Which one would be the most easy and convenient? Any other approaches to follow?


No comments:

Post a Comment