前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Prism Training Kit 4.0

Prism Training Kit 4.0

作者头像
张善友
发布2018-01-31 15:18:38
6500
发布2018-01-31 15:18:38
举报
文章被收录于专栏:张善友的专栏张善友的专栏

上周刚刚发布的支持Windows Phone 7的Prism 4.0最终版Damian, Diego, GuidoEzequiel更新了Prism Training Kit ,这个beta版的Training Kit包括5个动手实验涵盖了Prism的核心概念(modularity, bootstrapping, dependency injection, UICompositionCommunication):

  1. 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.
  2. 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.
  3. Bootstrapper Lab: Shows how to customize the bootstrapping of your application. Explains how to configure a custom logger.
  4. 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.
  5. 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.
  6. 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.
  7. Navigation Lab: Explains 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.
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2010-11-20 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档