
While researching things around “MVVM,” I kept seeing the term “Presentation Model,” so I decided to look into it.
Martin Fowler mentioned it — about seven years ago.
@HerberthAmaral MVVM is the Microsoft's world's name for the same pattern as Presentation Model. I haven't updated the article since.
— Martin Fowler (@martinfowler) January 20, 2012
MVVM is the Microsoft's world's name for the same pattern as Presentation Model. I haven't updated the article since.
マイクロソフトの「MVVM」パターンは「Presentation Model」と同じなので、記事は更新していません。
I looked for the sources for each of them.
Presentation Model (Martin Fowler, 2004)
Represent the state and behavior of the presentation independently of the GUI controls used in the interface
MVVM (Microsoft, 2005)
Model/View/ViewModel is a variation of Model/View/Controller (MVC) that is tailored for modern UI development platforms where the View is the responsibility of a designer rather than a classic developer. The designer is generally a more graphical, artistic focused person, and does less classic coding than a traditional developer.
👉 Introduction to Model/View/ViewModel pattern for building WPF apps – Tales from the Smart Client
Conclusion
2012年4月現在、XAMLを使用するWPFなどのテクノロジ以外で使用されるMVVMは実質Presentation Modelと変わらず、Viewの抽象化などはできない。
👉 Model View ViewModel - Wikipedia (ja)
MVVM is a variation of Martin Fowler's Presentation Model design pattern. MVVM abstracts a view's state and behavior in the same way, but a Presentation Model abstracts a view (creates a view model) in a manner not dependent on a specific user-interface platform.
👉 Model–view–viewmodel - Wikipedia (en)
関連ワード: Android・AndroidStudio・Google・Kotlin・今さら聞けない・初心者・開発・architecture