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 trial

Development Tools

geoffrey
geoffrey
28,736 Points

Designing our database, how important is it ?

Hello there, I've just finished the tutorial "Database Fundations". That was very good and well explained.

However, there is something I'm wondering I would like to ask to experienced web developers/treehouse teachers or at least people confortable with databases.

In the tutorial, we learn how to create tables, alter and etc... In ohters words, how to manipulate and create our database, but we don't talk about the fact how we should design it.

Is it something not really important as webdeveloper ? I know there are methods such as 'Merise' giving you some methods, to avoid mistakes, and respect some rules.

Maybe that's not important on small projects with small database, not sure, but I'd like to be informed, to know If that's really something I have to be confortable with.

Thank you.

3 Answers

James Barnett
James Barnett
39,199 Points

In general, good database design is like good software design. You might not see the problem with poorly written code when you are dealing with just a few hundred lines of code.

However, when programs start to grow in complexity good software/database design becomes much more important.

geoffrey
geoffrey
28,736 Points

Ok, that's something we learn with experience as well I guess... As we say, we learn as well from mistakes. I'm going to focus on PHP at the moment and I'll eventually have to dive into it again later.

Thank you for your answer.

Patrick Cooney
Patrick Cooney
12,216 Points

Database design is pretty dang important. Like James said, the more complex the more important it is. In fact many places with large databases (universities, large corporations, etc.) will have a DBA or Database Architect. Their whole job is to design the schema of the database to be as efficient as possible.