Hierarchy | Responsibilities |
---|---|
Model and data access layer | Handle everything related to the data: how it is accessed, how it is validated, what behaviors are involved, and the relationships between the data. |
Template that is the presentation layer | Handle presentation-related decisions: how to display in a page or other type of document. |
View and business logic layer | The logic associated with accessing the model and fetching the appropriate template. Bridge between model and template |