I have created a music recognition app. I would like to display previously identified songs. Where should I store those data about the songs? in database or filesystem? While one or the other? data= album name , track name, artist, cover image, genre, youtube link.
Asked
Active
Viewed 123 times
0
-
You need more detail than just "data" to make that decision. – nvoigt Aug 19 '16 at 10:34
-
data= album name , track name, artist, cover image, genre, youtube link. – Nemeth Attila Aug 19 '16 at 10:41
-
How are you going to interact with the data? – Andrew Brennan Aug 19 '16 at 10:54
1 Answers
4
If you only need to display a single source of non-relational data, then a file is probably the easiest solution.
Once you need relationships between entities, not using a database would be reinventing the wheel.
So if you want a plain list of the data you have, use a file.
If you want an album entity with related track entities and a user entity where each user references a certain track from a certain album, use a database.

nvoigt
- 75,013
- 26
- 93
- 142