Good Silverlight-MVVM Practice Example

前端 未结 8 856
太阳男子
太阳男子 2020-12-12 11:08

I\'ve read a number of good articles about the Model-View-ViewModel pattern and my team intends to implement this pattern in the latest version of our app. I still don\'t q

8条回答
  •  自闭症患者
    2020-12-12 11:40

    The best explanation of a ViewModel was given by Scott Hanselman during his MVC talk in Europe.

    A one-liner response is -- It is a model (class) that is created for the sole purpose of sending all the necessary data that a particular View needs and also for receiving modified data from the View in case of two-way bindings.

提交回复
热议问题