April 2014
2014四月
 
  Prism provides guidance in the form of samples and documentation that help you easily design and build rich, flexible, and easily maintained Windows Presentation Foundation (WPF) desktop applications. Using design patterns that embody important architectural design principles, such as separation of concerns and loose coupling, Prism helps you to design and build applications using loosely coupled components that can evolve independently but which can be easily and seamlessly integrated into the overall application. In short, these applications are "built to last" and "built for change." These types of applications are known as composite applications.
    Prism以示例和文档的形式帮助你更简单的设计丰富灵活易维护的WPF程序。其中使用的设计模式体现了一些重要的设计原则,例如分离关注点和松耦合,Prism帮助你利用松耦合组件设计和构建应用程序。松耦合组件是指可以单独开发的,却又容易集成到整个应用程序的组件。简而言之,利用Prism构建的程序是“为以后而构建”和“为改变而构建”。这样的程序也被说成是组合式应用程序。
 
This topic provides a brief overview of the Prism concepts with links to associated source code and documentation. If you are considering upgrading from Prism 4.1 to Prism 5.0 we include a "What’s New" and "Upgrading from Prism 4.1" topic that you should read.
    本篇内容是Prism相关概念的简明介绍,还附带了一些相关源代码和文档的连接。如果你以前用的是Prsim4.1,现在想升级到5.0,那么你该读读“新增内容”和“从Prism4.1升级”连篇内容。
 
Note: For Silverlight Applications use Prism 4.1.
    注意:Silverlight应用程序该使用 Prism 4.1.(看来Prism5.0是专门为WPF设计的)
 

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,从这里开始是你正确的选择。除此之外其他两块的内容你也应该读读。

 
  Develop and Deploy Applications: If you want to create a Prism Hello World application and deploy it then go through these topics. If you want to more fully understand how to utilize specific Prism capabilities in your application then read the content below.
    开发和部署应用程序:如果你想要创建“Hello World”应用程序并部署它,那你就看看下面的章节。如果你想更详尽的了解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.

  学习利用Prism库开发一个由各个独立开发的松耦合WPF组件组成的组合式应用程序。(我想我翻译明白了,仔细读读。换句话说:利用Prism,可以开发一个组合式的应用程序,这个应用程序是由多个松耦合的WPF组件组成的)
  
 

Initializing Prism Applications 初始化Prism应用

  Learn how to get a Prism for Window Presentation Foundation (WPF) application up and running – bootstrapping the application.
    学习怎样启动并运行一个Prism应用 —— 引导应用程序
  
 

Managing Dependencies Between Components 管理组件间的依赖

  Create maintainable apps using dependency injection to manage components’ dependencies and lifetimes, facilitate testing, and wire views to view models.
    使用依赖注入去管理组件之间的依赖,依赖注入还能管理组件的生命周期,方便组件代码的测试,和连接视图到视图模型上等能力。依赖注入的程序是易维护的。
  
 

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

   Learn how to create a loosely coupled modular application that is easier to develop, test, deploy, and extend.
     学习怎样创建一个松耦合的模块化应用,可以轻松开发,测试,部署,和扩展。
  

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:下载代码

  More info:更多信息

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应用的视图是如何利用导航切换的呢?下面主要介绍两种导航,基于状态导航和基于视图导航。

  

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:下载代码

  More info:更多信息

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:更多信息

Patterns in Prism Prism中的模式

  Learn the different patterns the Prism library and associated reference implementation demonstrate.

学习Prism中的模式,还有看看相关的参考实现演示。

  

  Download code:下载代码

  More info:更多信息

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:下载代码和程序集

  More info:更多信息

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:更多信息

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.
            Prism 下载:下载源码或者文档,获取NuGet包连接,或者浏览此Prism版本的全部内容。
  • Introduction: Read the next topic in the Prism documentation.
            介绍:阅读下一篇文章。
 

Community 社区

  Prism's community sites are:

  Prism社区网站是:

  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

Twitter

Blaine Wastell

http://blogs.msdn.com/b/blaine/

@blainewastell

Francis Cheung

http://blogs.msdn.com/b/francischeung/

 

patterns & practices

http://www.microsoft.com/practices

@mspnp

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.

 
①译注:Prism库的意思是下载的Prism文件,里面包含了很多内容,文档和示例代码等等。单说Prism,就是说Prism这个框架。

Prism开发人员指南5-WPF开发 Developer's Guide to Microsoft Prism Library 5.0 for WPF (英汉对照版)的更多相关文章

  1. 下载并安装Prism5.0库 Download and Setup Prism Library 5.0 for WPF(英汉对照版)

    Learn what’s included in Prism 5.0 including the documentation, WPF code samples, and libraries. Add ...

  2. Prism5.0开发人员指南内容 Contents of the Developer's Guide to Prism Library 5.0 for WPF(英汉对照版)

    The Prism for WPF guide contains the following topics: Prism指南包含以下内容: Download and Setup Prism 下载并安装 ...

  3. 1: 介绍Prism5.0 Introduction to the Prism Library 5.0 for WPF(英汉对照版)

     Prism provides guidance designed to help you more easily design and build rich, flexible, and easy- ...

  4. 4: 模块化应用程序开发 Modular Application Development Using Prism Library 5.0 for WPF (英汉对照版)

    A modular application is an application that is divided into a set of loosely coupled functional uni ...

  5. 3: 组件间的依赖管理 Managing Dependencies Between Components Using the Prism Library 5.0 for WPF(英汉对照版)

    Applications based on the Prism Library are composite applications that potentially consist of many ...

  6. Prism5.0新内容 What's New in Prism Library 5.0 for WPF(英汉对照版)

    Prism 5.0 includes guidance in several new areas, resulting in new code in the Prism Library for WPF ...

  7. 2: 使用Prism初始化程序 Initializing Applications Using the Prism Library 5.0 for WPF(英汉对照版)

    This topic addresses what needs to happen to get a Prism for WPF application up and running. A Prism ...

  8. Prism开发人员指南5-WPF开发 文档翻译(纯汉语版)

    2014四月       Prism以示例和文档的形式帮助你更简单的设计丰富灵活易维护的WPF程序.其中使用的设计模式体现了一些重要的设计原则,例如分离关注点和松耦合,Prism帮助你利用松耦合组件设 ...

  9. 第六代智能英特尔® 酷睿™ 处理器图形 API 开发人员指南

    欢迎查看第六代智能英特尔® 酷睿™ 处理器图形 API 开发人员指南,该处理器可为开发人员和最终用户提供领先的 CPU 和图形性能增强.各种新特性和功能以及显著提高的性能. 本指南旨在帮助软件开发人员 ...

随机推荐

  1. Android开发中string.xml文件的使用

    为什么需要把应用中出现的文字单独存放在string.xml文中呢? 一:是为了国际化,Android建议将在屏幕上显示的文字定义在strings.xml中,如果今后需要进行国际化,比如我们开发的应用本 ...

  2. 简单的 H5 视频推流解决方案

    导语 随着直播平台爆发式增长,直播平台从 PC 端转战移动端,紧跟着直播的潮流,自己学习实现了一套简单的 H5 视频推流的解决方案,下面就给小伙伴们分享一下自己学习过程中的经验. 环境部署 1. 配置 ...

  3. HTTP协议简要介绍

    1. 网络基础 TCP/IP 通常使用的网络是在TCP/IP协议簇基础上运作的. HTTP属于它内部的一个子集. TCP/IP分为4个层次, 应用层, 传输层, 网络层, 链路层. (Applicat ...

  4. 请求库之requests

    一 介绍 #介绍:使用requests可以模拟浏览器的请求,比起之前用到的urllib,requests模块的api更加便捷(本质就是封装了urllib3) #注意:requests库发送请求将网页内 ...

  5. 第三课 Makefile文件的制作(上)

    1.序言: 前面的课程讲解了从gcc编译过程到其实践,大家可以看到其实在这些步骤中有些是可以简化编译的,但由于参数多以及项目中文件数量多的原因难免会造成错误甚至是浪费大量的时间在这编译上,为此linu ...

  6. MAC brew软件安装

    之前一直怀念ubuntu下的apt-get,因为实在是方便,需要安装什么,一个命令搞定,相关的依赖包统统由apt-get维护.下载,编译,安装,那叫一个痛快.什么软件用着不爽,一个命令卸载! 怀念ap ...

  7. HDU - 6336 Problem E. Matrix from Arrays (规律+二维前缀和)

    题意: for (int i = 0; ; ++i) { for (int j = 0; j <= i; ++j) { M[j][i - j] = A[cursor]; cursor = (cu ...

  8. 在Ubuntu上安装Brackets的步骤(加源和移除源)

    学习编写接口开发和测试时需要用到编写HTML页面,在Windows下采用的是HBuilder,但是无Ubuntu版本.安装一个网上推荐的Brackets 安装步骤:参见http://www.xiton ...

  9. linux命令详解之(at)

    在Linux下,有两个命令可以用来作为计划任务而执行,at:一次性定时任务计划执行crontab :每天定时任务计划执行 以下仅说一下一次性任务计划执行(at)要使用一次性任务计划,linux必须要有 ...

  10. [CTSC2008]祭祀

    题目描述 在遥远的东方,有一个神秘的民族,自称Y族.他们世代居住在水面上,奉龙王为神.每逢重大庆典, Y族都会在水面上举办盛大的祭祀活动.我们可以把Y族居住地水系看成一个由岔口和河道组成的网络.每条河 ...