I'm interested in learning about the alternative patterns to Model-View-Controller, specifically the Model-View-Adapter and Application-View-Controller patterns.
Google results tend to be either a high-level overview or Java-based.
Can anyone either provide, or point me to, an example of these patterns in either PHP, Python or JavaScript?
Presentation Abstraction Control (PAC) Model View Presenter (MVP) Model View ViewModel (MVVM)
Key Differences between MVC and MVVMIn MVC, controller is the entry point to the Application, while in MVVM, the view is the entry point to the Application. MVC Model component can be tested separately from the user, while MVVM is easy for separate unit testing, and code is event-driven.
These are some alternatives lurking about my bookmarks. They're mostly Java based but you shouldn't have any problems in understanding the underlying patterns.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With