Composite Application Guidance Prism 2 A Rainbow of Possibilities
Brian Genisio SRT Solutions 3/10/2010
Why Prism? Loose Coupling of parts Configurability Composability Higher Testability Multi-Platform (WPF vs Silverlight)
What is Prism? Composite Application Guidance Composite Application Library
Take what you want
What is Composability?
Start With a Shell
Add Modules Dynamically
UI Composition Watch Module Position Module Market Module News Module
Modularity
Nested Modules/Regions
Implementation
Demo
Bootstrapper
Dependency Injection
Service Locator
Modules
Region Manager
Event Aggregator
Commands
Multi-Targeting
Revisiting the Stock Trader
Where Do I Start? 1.Download the CAL 2.Create the Bootstrapper 3.Wire up the Bootstrapper 4.Create Modules 5.Wire up the Modules
Why Not? Just a reference implementation Patterns & Practices vs Mainline A lot of ceremony for small apps They do some things poorly
In Summary A great library for building composite applications Take parts if you want Re-write parts if you want Rock on with your bad self
Resources Composite Application Guidance -- Composite Application Library -- CodePlex part video series -- My Blog: Twitter: