Data Modeling

Projected Time

About 1.5 hour

Prerequisites

None

Motivation

Data modeling refers to how you organize the data within your database. It involves thinking through the pieces of data your application needs and how those pieces of data relate to each other. Data modeling is the first step to creating a database. Having incorrect data models can cause your application to have inconsistent or inaccurate data, so it’s important to code up with data models that will represent your data well.

Objectives

Participants will be able to:

Specific Things to Learn

Materials

Lesson

Read through lesson slides Introduction to Data Modles

Guided Practice

Give participants different types of data and work with them to create a diagram that represents the relationship between the data.

An example could be: Imagine you are creating a food website that will have recipes by top chefs from around the world. The following data will be required:

Create a diagram to show how the data is related.

Independent Practice

Have participants click through a sequence on a website (like Amazon). Have participants list the data that is needed and create a diagram to show how it is related.

Challenge

Participants choose one diagram they made during this lesson and find a different way to represent the relationships between the data.

Check for Understanding

Return to the children in the park and choose the most important data for a website for parents to sign their children up for extracurriculars at the park. Create a database model showing how the data is related.