---
title: "model-view-controller-pattern"
aliases: MVC
tags: 
- pattern
---

**Model:** An object carrying data
- handles data logiv
- interacts with database

**View**: The visualisation of the data that model contains
- rendered dynamically

**Controller:** Controls the data flow into model object and updates the view whenever data changes. Keeps view and model separate.
