A MV* pattern comparison

The three presentation patterns we have seen have many similarities. All them are based on three components, and the interactions between them are quite similar. However, each pattern has its own features that make it more suitable for certain situations and not for others. Let's recap the characteristics of each pattern highlighting those that stand out from each other.

The MVC pattern proposes cooperation among the three components Model, View, and Controller. Each component has its own role, but each one has some interactions with the other. The View uses the Model for initial binding, while the Controller manages the requests of changing the Model and gives feedbacks to the View. It is a first attempt to make separation ...

Get Mastering JavaScript Object-Oriented Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.