Last week, the final version of prism 4.0, which supports Windows Phone 7, was released. Damian, Diego, Guido, And Ezequiel updated the prism training kit, this beta version of training kit includes five hands-on experiments covering the core concepts of Prism (modularity, bootstrapping, dependency injection, uicomposition and communication ):
-
- Modularity lab:Shows how to decouple your solution using modules. includes step-by-step guidance on how to configure modules in code and using a XAML modulescatalog. there is also an exercise that explains how to load Silverlight modules remotely.
-
- Dependency injection lab:Shows how to register and consume services in a decoupled way. Explains the main features of unity, and how to register and resolve dependencies.
-
- Bootstrapper lab:Shows how to customize the bootstrapping of your application. explains how to configure a custom logger.
- Uicomposition lab:Shows how to compose the UI of you application from several decoupled views. includes brief step-by-step explanation on using the MVP pattern and the use of controllers. explains the use of the regionmanager and regionviewregistry for viewinjection and viewdiscovery.
-
- Communication Lab:Shows how to communicate between modules in a decoupled way. includes brief step-by-step guidance on using the mvvm pattern (and refactoring from MVP) and detailed steps for using delegatecommands with attachedbehaviors. publishing and subscribing using the eventaggregator is also described.
-
- MEF lab:Explains how to load modules using a MEF container for dependency injection, how to use the new viewexport attribute, how to load modules remotely and monitor its download progress.
- navigation lab: explain ains the view-based navigation approach supported by the prism API. it shows how to pass parameters between views, canceling/confirming navigation, and how to use the navigation journal.