「MVVM」あたりを調べていると「Presentation Model」という言葉がやたら目につくので調べる。
マーチン・ファウラーさんがつぶやいていました。7年前。
@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」と同じなので、記事は更新していません。
それぞれのソースを探す。
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
まとめ
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)
同じと思っていいのか。