Blog

The model-view-controller pattern

The Model-View-Controller (MVC) pattern is a way to organise your code that separates it into three parts: models, controllers, and views It allows you to separate the code that does stuff from the code that shows stuff.