WPF Sliverlight MVVM模式框架收集

来源:互联网 发布:java书籍排行 编辑:程序博客网 时间:2024/05/16 00:39

MVVM(Model-View-ViewModel), Sliverlight,WPF开发最适合的模式。

 

开源框架:

一:nRoute

1: 主页 下载

2: Demo1    Demo2    Demo3   Demo4

3: 描述:

  • Multi-Platform Support - targets Silverlight, WPF, and Windows Phone 7
  • Introduces asynchronous Routing and Navigation
  • Introduces support for Globally Registered Navigation Containers
  • Introduces "StatefulBrowsing" Navigation Container
  • Introduces Navigation Adapters
  • Adds new Navigation Container Behaviors
  • Adds support for Error Pages, including custom Error Pages
  • Introduces support for MVC-style Controllers (replaces Url-based Actions)
  • Introduces SiteMaps concept
  • Introduces SiteAreas concept
  • Introduces extensible Dependency Injection (DI)
  • Introduces extensible Locator Adapters for Higher-Order Dependencies
  • Introduces Dependency Recomposition Support
  • Introduces Private Observable Channels
  • Features significant updates to Observable Channels, including compatibility with Rx-Framework
  • Updates ICommand Infrastructure, adds support for passing EventArg's to ViewModel

Adds three-sets of new Behaviors - UpdateBindingExplicitlyAction, SetFocusAction and Bool/NullValueDisableBehavior

4: 图片:

二:WPF Starter Kit

1: 主页  下载

2: 描述:

  • A simple, easy to use implementation of the Model View View Model pattern
  • A navigation framework that allows for clean navigation between View/ViewModel units. This framework is based on built-in WPF navigation
  • Support for passing data between View Models
  • Support for generic exception handling
  • Support for long running operations on the UI thread
  • Automatic change notification on the view models. Just make your properties virtual! Props to Dmitry Shechtman over at http://shecht.wordpress.com/ for pointing me in the right direction.
原创粉丝点击