Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial4 Answers
Ken Alger
Treehouse TeacherThomas;
The "how" is going to depend on what database you are using, what driver for that database potentially, and how your data is structured (your database schema).
In terms of if MongoDB would be a good fit for this data structure it certainly could be and would likely do the job well. That being said a relational database could be used as well as, for this particular project, the schema for the data is rather static.
Post back with further questions.
Happy coding,
Ken
Ken Alger
Treehouse TeacherThomas;
MySQL, PostgreSQL are both examples of relational databases, there are others.
In terms of the differences between relational (SQL for example) and non-relational (MongoDB for example) I would recommend going through some of the database courses here on Treehouse to get some basic questions answered about the differences and advantages/disadvantages to both systems.
And yes, databases will store the files on a database server.
Happy coding,
Ken
Thomas Euget
10,615 PointsHi Ken, thanks for your answer. can you provide me with an example of a relational database? Why is MongoDB not a relational database? Database handling files are stored on the server correct?
Thomas Euget
10,615 PointsThanks Ken. Thomas