开发者

Silverlight MVVM example which does not use data grids?

开发者 https://www.devze.com 2023-02-03 21:09 出处:网络
I was wondering if anyone knew of a great example of using the MVVM pattern for a Silverlight application that does not utilise a data grid?

I was wondering if anyone knew of a great example of using the MVVM pattern for a Silverlight application that does not utilise a data grid?

Most of the examples I have read see links below and books such as Pro W开发者_开发知识库PF and Silverlight MVVM by Gary Hall use a silverlight application with a datagrid. Don't get me wrong, these are all great examples.

See also:

  • MVVM: Tutorial from start to finish?

  • http://www.silverlight.net/learn/tutorials/silverlight-4/using-the-mvvm-pattern-in-silverlight-applications/

However some recent demo projects I have been working are not necessarily dealing with data grids but I would still want to implement this pattern..


This Stack Overflow question contains a lot of examples in the answers you may find useful. Good Silverlight-MVVM Practice Example


If you download Prism which is a composite framework for building Silverlight based MVVM applications, you will notice that it comes with compilable/runnable examples which make use of the framework and are great examples of MVVM.

On a side note focus on understanding MVVM concepts with disregard to Silverlight as the methodology is applicable to other technologies and is not a Silverlight only methodology. This will broaden your results as you begin searching for an understanding of what MVVM is.


I have just been writing a serious of blog posts about Silverlight, RIA, POCO and Oracle. At our work we don't have the luxery of SQL Server or the Entity Framework, so we had to figure out how to make RIA work with Oracle.

In the process, I wrote a sample application to explain all that we learned. It uses MVVM. You can check it out here (there is a datagrid involved, but it's on a secondary tab - it's not the main focus of the application).

http://www.chrisholmesonline.com/2011/01/13/silverlight-ria-services-with-poco-oracle-part-i/

0

精彩评论

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

关注公众号