The MV* architecture
As we have seen, many tasks that were traditionally performed on the server side are performed on the client side in SPAs. This has caused an increase in the size of JavaScript applications and the need for a better code organization.
As a result, developers have started using in the frontend some of the design patterns that have been used with success in the backend over the last decade. Among those, we can highlight the Model-View-Controller (MVC) design pattern and some of its derivative versions, such as Model-View-ViewModel (MVVM) and Model-View-Presenter (MVP).
Developers around the world started to share some SPA frameworks that somehow try to implement the MVC design pattern but do not necessarily follow the MVC pattern ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access