software-development-lessons

Data Modeling - Very Best

This lesson practices data modeling

Slides

Topics

Domain Modeling

  1. Where is that information coming from?
    • users?
    • government dataset?
    • etc.
  2. How would I keep track of that information on paper?
    • Can I answer the “question” that each feature represents by looking through my tables?

Computers can’t do anything that we couldn’t do by looking through paper tables

Caveat #1

Caveat #2

Try to domain model: Very best

  1. Try to figure out what database tables back this app.
  2. Write out all of the tables you think you’ll need, with names and all columns (including foreign keys and join tables).
  3. In order to test your database design, what questions can you ask?
  4. Compare your designs against another group. Ask them the questions you came up with to test your design and provide helpful critiques.

Next Up

Interactive Ruby