UK Application Development Consulting - Model-View-*
“I find myself answering questions related to the presentation patterns repeatedly. Since I am a lazy person, I am writing this post to illustrate my understanding and interpretation of the Model-View-* patterns and their variations so I can refer back to this post later.
I understand the concerns the Model-View-* purists might have around the correctness and/or pureness of these diagrams so I do apologize for potential inaccuracies in advance and I welcome any suggestions / comments!
I am not going to explain every single Model-View-* pattern as you can find better explanations in other places. Instead, I will focus on the relationship between participant components in each pattern.
Let’s start with a list of patterns we are going to cover:
- MVC: Model-View-Controller
- MVP (Supervising Controller): Model-View-Presenter with Supervising Controller
- MVP (Passive View): Model-View-Presenter with Passive View
- MVVM: Model-View-ViewModel
- MVVMC: Model-View-ViewModel-Controller
- MVPoo: Model-View-ViewModel with some Poo (in ViewModel)
- MVPo: Model-View-ViewModel with little Poo (in ViewModel)
None of these are new so you should have heard the names before, apart from the last one (MVPo) where I have come up with a new name by slightly modifying the original name.
…
“MVPoo” just tickled my boy-in-a-man’s-body tickle bone. Such a true and accurate name for the MV pattern we all to often find our code in…
No comments:
Post a Comment
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...