mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 05:14:06 -06:00
16 lines
377 B
Markdown
16 lines
377 B
Markdown
---
|
|
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.
|