skip to the main content area of this page
Patterns and Practices

 

WPF and Silverlight Framework for Application Development - Prism Drop 7 Released


Patterns & Practices is still working on Prism v2.0 which supports composite application development for both WPF and Silverlight 2.0. Prism 2.0 Drop 7 was recently released with the following changes:

 

  • BREAKING CHANGE: The Regions property of the IRegionManager interface is no longer of type IDictionary, now it is a IRegionCollection which provides a custom collection of regions
  • Removed dependency of ModuleInfoGroup from ModuleManager and
  • IModuleRetriever. ModuleInfoGroup is still in ModuleCatalog but just as a way to provide validation of the deployment
  • Ported the Commanding namespace to Silverlight
  • Added the DirectoryLookupModuleEnumerator and ConfigurationModuleEnumerator enumerators (Only for WPF)
  • Added the Modularity QuickStarts for WPF (DirectoryLookup and Configuration based module loading)
  • Added the Commanding QuickStart (Silverlight version is still Work-in-progress)
  • The Project Linker no longer depends on the Visual Studio SDK if you want to install, run, and use the Project Linker. However, because the Project Linker code was separated out from the Composite Application Library source code, the Visual Studio
  • SDK is still required to compile the source code.
  • Added Acceptance Tests for the DirectoryLookUp QuickStart
  • New documentation:
    • Pull-based Composition QuickStart
    • Modularity QuickStarts for WPF

 

According to Bob Blum:

"Prism drop 7 contains the first scenarios for Commanding.  The challenge here is that, in Silverlight, there is no command binding.  In the the first version of Prism, we used the existing command binding infrastructure and provided a DelegateCommand to connect ViewModel methods to a command, and CompositeCommand to coordinate activity across multiple ICommands.  It turns out that the ICommand interface is available in Silverlight 2, so the latest drop introduces a Command.Click attached property and ClickCommandBehavior that connects any ButtonBase’s click event to an ICommand (such as DelegateCommand)."

 

Download the latest version of Prism here.

 

More Prism Tutorials.

 


Tags: CompositeApplicationLibrary, Prism, Silverlight, WPF, WPFCompositeClient


Topics



 

Popular Tags



Recent Links