Singsys blog

Use MVC (Model View Controller) to separate the representation of information from the user’s interaction with it.

The Model-View-Controller paradigm applied to web applications lets you separately display code (for example, HTML and tag libraries that is rendered to the end users) from flow control logic (action classes that performs the required operations on the data) from the data model (data persisting inside the relational databases) to be displayed and updated by the application.