Getting Started 入门
Where to start depends on your goals and what you already know. Learn, Develop and Deploy Applications, and Upgrade from Prism 4.1 should help you understand if Prism makes sense in your application and how to get started.
从哪里开始学习Prism5.0取决你的目标和你已掌握了多少东西。这里有三个出发点:学习Prism、 开发和部署应用程序、和从Prism4.1升级。
Learn: If you are new to Prism, this is a good place to start. You should also read through the remaining content in this topic.
学习Prism: 如果你刚接触Prism,从这里开始是你正确的选择。除此之外其他两块的内容你也应该读读。
- Learn about Prism Capabilities: Introduction. 学习Prism相关的能力: 介绍
- See how to consume the Prism Library in source code. 看看我们怎样利用Prism①库中的源码.
- Learn the Prism concepts. 学习Prism相关 概念.
- Where to ask questions? 在哪里问问题呢?
- Who created Prism? 是谁创造了 Prism?
- How to get your machine ready. 让你的机器准备好!.(意思是在你的机器上安装,配置好Prism)
- Where to get library binaries. 从哪里获取Prism5.0程序集.
- Create your first composite Prism application: Getting Started Using the Prism Library Hands-on Lab. 创建你的第一个组合式Prism应用:使用Prism入门——动手实验室.
- Deploy Prism App: Publishing and Updating Applications Using the Prism Library Hands-on Lab. 部署Prism应用:发布和升级使用了Prism的应用程序——动手实验室
Upgrade from Prism 4.1: Read the topics below so you can perform a cost benefit analysis of upgrading to Prism 5.0.
从Prism4.1升级:读下面的文章,可以知道把您的程序升级到Prism5.0到底值呢?还是不值呢。
Introduction 介绍
Learn how to create a composite application from loosely coupled WPF components that can evolve independently using the Prism library.

Download code: 下载代码
- Getting Started Using the Prism Library Hands-on-Lab 使用Prism入门——动手实验室. (源码下载)
- Stock Trader Reference Implementation 股票操盘程序参考实现 (源码下载)
More info:更多信息
- Introduction 介绍 (文章)
- Getting Started Using the Prism Library Hands-on Lab 使用Prism入门——动手实验室. (文章)
- 股票操盘参考实现 (文章)
Initializing Prism Applications 初始化Prism应用

Download code:下载代码
More info:更多信息
- Initializing Prism Applications 初始化Prism应用程序 (文章)
- Getting Started Using the Prism Library Hands-on Lab 使用Prism入门——动手实验室. (文章)
Managing Dependencies Between Components 管理组件间的依赖

Modular Application Development 模块化应用程序开发

Download code:下载代码
- Modularity QuickStart for Unity Unity模块开发快速入门 (源码下载)
- Modularity QuickStart for MEF MEF模块开发快速入门(源码下载)
More info:更多信息
MVVM Pattern MVVM模式
Learn how the MVVM pattern makes your app easier to test, maintain, and evolve. It improves code re-use and allows developers and designers to collaborate. Learn how to use composite commands, handle asynchronous interactions, implement user interaction patterns, and wire views to view models using MVVM.
MVVM模式可以让程序更易测,更易维护。还能提高代码的重复使用率,允许开发者和设计者更容易的合作。我们还需了解在MVVM模式下怎样使用组合式命令,处理异步交互,实现用户交互模式,连接视图到视图模型上。

Download code:下载代码
- MVVM QuickStart MVVM快速入门 (源码下载)
More info:更多信息
- Implementing the MVVM Pattern 实现 MVVM 模式(文章)
- Advanced MVVM Scenarios 进击的MVVM (文章,直译过来是先进的MVVM场景,是讲一些复杂的情况下,MVVM的一些应用)
- MVVM QuickStart MVVM快速入门 (文章)
Composing the User Interface 组合式界面
Learn how to compose your UI from loosely coupled WPF visual components for modular application. Create designer-friendly UIs with design time data.
学习怎使用松耦合的WPF视觉组件构建你的界面。创造出对设计友好的有设计时数据的界面。
Download code:下载代码
More info:更多信息
Navigation 导航
Learn how to navigate between views in composite WPF applications that use the MVVM pattern. Use either state-based or view-based navigation.
MVVM模式下,组合式WPF应用的视图是如何利用导航切换的呢?下面主要介绍两种导航,基于状态导航和基于视图导航。

Download code:下载代码
- State Based Navigation QuickStart 基于状态导航快速入门 (源码下载)
- View Switching QuickStart 视图切换快速入门 (源码下载)
- Interactivity QuickStart 交互快速入门 (源码下载)
More info:更多信息
- Navigation 导航(文章)
- State Based Navigation QuickStart 基于状态导航快速入门(文章)
- View Switching QuickStart 视图切换快速入门(文章)
- Interactivity QuickStart 交互快速入门(文章)
Communicating Between Loosely Coupled Components 松耦合组件之间的通信
Decide when to use the different loosely coupled communication mechanism works for your modular application: commands, region context, shared services, and event aggregation.
松耦合的模块间是通过什么机制通信的呢?有这样几种方式:命令,区域上下文,共享服务,事件聚合。

Download code:下载代码
- Event Aggregation QuickStart 事件聚合快速入门 (源码下载)
- Commanding QuickStart 命令快速入门 (源码下载)
More info:更多信息
- Communicating Between Loosely Coupled Components 松耦合组件之间的通信(文章)
- Event Aggregation QuickStart 事件聚合快速入门(文章)
- Commanding QuickStart 命令快速入门 (文章)
Deploying Prism Applications 部署Prism应用
Learn the deployment options for a composite WPF application – Xcopy, ClickOnce, and Windows Installer.
部署组合式WPF应用,三种方式:Xcopy ,ClickOnce, Windows Installer.
More info:更多信息
- Deploying Prism Applications 部署Prism程序 (文章)
- Publishing and Updating Using the Prism Library Hands-on Lab 发布和更新Prism程序——动手实验室(文章)
Patterns in Prism Prism中的模式
Learn the different patterns the Prism library and associated reference implementation demonstrate.
学习Prism中的模式,还有看看相关的参考实现演示。
Download code:下载代码
- Stock Trader Reference Implementation 股票操盘参考实现(源码下载)
- Event Aggregation QuickStart 事件聚合快速入门(源码下载)
- Commanding QuickStart 命令快速入门(源码下载)
- MVVM QuickStart MVVM快速入门(源码下载)
- UI Composition QuickStart 组合式UI快速入门(源码下载)
- Hello World Hands-on-Lab Hello World——动手实验室(源码下载)
More info:更多信息
- Patterns in the Prism Library Prism中的设计模式(文章)
- Stock Trader Reference Implementation 股票操盘参考实现(文章)
- Code Samples 一些代码示例(文章)
- Getting Started Using the Prism Library Hands-on Lab 使用Prism入门——动手实验室(文章)
Prism Library Prsim库
Learn who the Prism library for WPF was developed for, how it is organized, how to modify the source, and how to run the associated tests.
看看Prism库是为谁开发的,库中的内容是如何组织的,怎样更改源代码,怎样运行相关测试。
Download code and binaries:下载代码和程序集
- Prism NuGet Package Prism NuGet 包(文章)
- Prism.Composition NuGet Package Prism.Composition NuGet 包(文章)
- Prism.Interactivity NuGet Package Prism.Interactivity NuGet 包(文章)
- Prism.UnityExtensions NuGet Package Prism.UnityExtensions NuGet 包(文章)
- Prism.MefExtensions NuGet Package Prism.MefExtensions NuGet 包(文章)
- Prism.Mvvm NuGet Package Prism.Mvvm NuGet 包(文章)
- Prism.PubSubEvents NuGet Package Prism.PubSubEvents NuGet 包 (文章)
- Prism Source Code Prism源代码(文章)
More info:更多信息
- Prism Library Prism库(文章)
Upgrading from Prism 4.1 从Prsim4.1升级
Learn how to upgrade your existing Prism 4.1 projects and solutions to Prism 5.0. This includes changes to references, namespaces, and APIs.
学习怎样从Prsim4.1项目升级到Prsim5.0。这里包含改变的引用,命名空间,和APIs。
More info:更多信息
- What's New in Prism Library 5.0 for WPF Prism5,0新内容 (文章)
- Upgrading from Prism Library 4.1 从Prism4.1升级 (文章)
Extending the Prism Library 扩展Prism库
Learn how to modify Prism default behavior including bootstrapping, container, logging, modularity, regions, navigation, and view model locator.
怎样更改Prism默认行为:引导,容器,日志,模块,区域,导航,还有视图模型定位器。
More info:更多信息
License 许可证
What's Next 接下来
- Prism Download: Download source or documentation, get links to the NuGet packages, or see the full content of this Prism release.
- Introduction: Read the next topic in the Prism documentation.
Community 社区
Prism's community sites are:
Prism社区网站是:
- Prism: http://www.codeplex.com/Prism Prism: http://www.codeplex.com/Prism
- PubSubEvents (Event Aggregator): http://www.codeplex.com/pnpPubSubEvents (PubSubEvents不知为何物)
- MVVM: http://www.codeplex.com/pnpMvvm
On these community sites, you can post questions, provide feedback, or connect with other users for sharing ideas.
这这些社区网站上,你可以提交问题,提供反馈,或者联系其他开发者分享你的想法。
Prism Team Blogs Prism 团队博客
Stay informed and up to date about Prism and patterns & practices.
随时了解Prism信息和 patterns & practices(模式与实践).
Name |
Blogs and Home Pages |
|
---|---|---|
Blaine Wastell |
||
Francis Cheung |
||
patterns & practices |
The Team Who Brought You This Guide 为你带来本指南的团队
Prism was produced by the following individuals:
Prism是下面这些大神制作的
patterns & practices Team:
patterns & practices团队:
Microsoft Corporation |
Blaine Wastell, Francis Cheung, Nelly Delgado, Rohit Sharma, RoAnn Corbisier |
Southworks SRL |
Diego Poza |
Icertis Inc. |
Poornimma Kaliappan |
Contributors to the previous release of this guidance:
此指南之前版本的贡献者:
Microsoft Corporation |
Blaine Wastell, Bob Brumfield, David Hill, Karl Shifflett, Larry Brader, Michael Puleio, Nelly Delgado |
Clarius Consulting |
Fernando Simonazzi |
Infosys Technologies Ltd |
Mani Krishnaswami, Meenakshi Krishnamoorthi, Rathi Velusamy, Ravindra Varman, Sangeetha Manickam, Sanghamitra Chilla |
Software Insight |
Brian Noyes |
Southworks SRL |
Diego Poza, Fernando Antivero, Geoff Cox, Matias Bonaventura |
TinaTech, Inc. |
Tina Burden |
Modeled Computation |
Sharon Smith, Katie Niemer |
Many thanks to the following advisors who provided invaluable assistance:
感谢下面这些人的帮助
Bill Wilder of Fidelity Investments, Brian Noyes of Solliance, Brian Lagunas of Infragistics, Clifford Tiltman of Morgan Stanley, Rob Eisenberg of Blue Spire, Norman Headlam, Ward Bell of IdeaBlade, Paul Jackson of CM Group Ltd., John Papa of Microsoft, Julian Dominguez of Clarius Consulting, Ted Neveln of Ballard Indexing Services, Glenn Block of Microsoft, Michael Kenyon of IHS, Inc., Terry Young of PEER Group, Jason Beres of Infragistics, Peter Lindes of The Church of Jesus Christ of Latter-day Saints, Mark Tucker of Neudesic, LLC, David Platt of Rolling Thunder Computing, Steve Gentile of Strategic Data Systems, Markus Egger of EPS Software Corp. and CODE Magazine, Ryan Cromwell of Strategic Data Systems, Todd Neal of McKesson Corp, Dipesh Patel of Fidelity Investments, and David Poll of Microsoft.