Mvc

Model view controller

MVC was one of the first design patterns invented in Palo Alto in the 70s

Model
Data and methods for the problem being solved

View
Shows what the model is doing

Controller
Acts on the model and the view to update data flow into the model and updating the view

Controller has both view and model. View and model are not supposed to touch each other (ignore wikipedia derived image)