开发者

Need Help in detmining what design pattern im actually using ? WP7

Hi im quite bad at understaning design patterns i have no idea what one ive implemented, i just build stuff, but hey i want to learn about them so im askign what p开发者_如何学Pythonattern ive implemented in this project is it mvc ?? or mvvm ??

Need Help in detmining what design pattern im actually using ? WP7

Need Help in detmining what design pattern im actually using ? WP7

in main MainviewModel i only save/load playertoken to isolated storage, the rest is supposed to be dynamic data downloaded on runtime from services and held in the collections decalred in the MainviewModel model.


The pattern is MVVM - Model View ViewModel. It is close to MVC considering that both the ViewModel and Controller manage model access. However, a ViewModel also performs data manipulations and adapts those for the View, while the controller is generally used to fetch models. A good description of some differences is here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜