The View
The view is responsible for transforming a model or models into a visual representation.
In web applications, this most often means generating HTML to be rendered in the
user’s browser, although views can manifest in many forms. For instance, the same
model might be visualized in HTML, PDF, XML, or perhaps even in a spreadsheet.
Following separation of concerns, views should concentrate only on displaying data
and should not contain any business logic themselves—the business logic stays in the
model, which should provide the view with everything it needs.