Components


The MVC framework has three components:


We can think of both the view and controller as living in the user interface (UI) layer, with the view being the looks, and the controller being the code/logic.

Controller


Some things the controller does: