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 ??
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.
精彩评论