Author: Frank Anderson

Last Updated: 17 July, 2023

Slides 🖼️

Hack Session 2 - Sp23

Data Design was last presented during Hack Session 2 in Spring 2023 by Frank Anderson

Why 🤔

Designing your data in a smart way makes programming much easier! It will save you time and prevent you from having to solve unnecessary, complex problems. This is because you would have already thought about many of the tough technical questions on how to create your project and model it’s data.

What 💽

Think about what needs to be stored and how each property of each data type needs to interact. For example, if you were creating a social app where users could share invites to events you might break down your data like this:

<aside> 📌 Note this does not describe the UI elements or set of user interactions, but merely the data structure and relations between elements in the structure. There are many other tools that can provide even more guidance; a description of some of them can be found here:

A Guide to Data Modeling & The Different Types of Models

</aside>

How 🪛

You can represent your data design in a variety of ways. One common method is to convert the list above into a UML Class Diagram. Class Diagrams showcase Facts, Constraints, and Relationships.

Rules of Thumb 👍