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. Flask(1)- 主流web框架、初识flask

    一.Python 现阶段三大主流Web框架 Django.Tornado.Flask 对比 Django 主要特点是大而全,集成了很多组件(例如Models.Admin.Form等等), 不管你用得到 ...

  2. Linux基础整理 + 注释

    1.Linux的常用命令: ls 显示当前文件夹目录 ll -->详细信息 ls -a 显示所有文件 ls -lhSr w 查看登录的帐号,还可以查看cpu负载情况,who am i ,who ...

  3. PHP 数组教程 定义数组

    数组array是一组有序的变量,其中每个变量被叫做一个元素. 一.定义数组  可以用 array() 语言结构来新建一个数组.它接受一定数量用逗号分隔的 key => value 参数对.  a ...

  4. $微信小程序开发实践点滴——接入Bmob后端云

    Bmob后端云官网:http://www.bmob.cn/ 微信公众平台官网:https://mp.weixin.qq.com/ 微信小程序官方开发文档:https://mp.weixin.qq.co ...

  5. Java并发之CyclicBarria的使用(二)

    Java并发之CyclicBarria的使用(二) 一.简介 之前借助于其他大神写过一篇关于CyclicBarria用法的博文,但是内心总是感觉丝丝的愧疚,因为笔者喜欢原创,而不喜欢去转载一些其他的文 ...

  6. vm安装centos7 Minimal 配置静态ip添加dns: 解决连不上网

    去centos官网下载需要的镜像:https://www.centos.org/ 安装完成后,在centos7中,ifconfig命令已经不存在了,查看ip的命令 # ip addr 发现ens*** ...

  7. 分组函数NTILE函数

    这个分组函数 并不是 group by的分组.

  8. css盒模型不同浏览器下解释不同 解决办法

    盒子模型是css中一个重要的概念,理解了盒子模型才能更好的排版.其实盒子模型有两种,分别是 ie 盒子模型和标准 w3c 盒子模型.他们对盒子模型的解释各不相同,先来看看我们熟知的标准盒子模型: 从上 ...

  9. poj 3253超时

    哈夫曼树超时是因为每次都需要重排,十分浪费时间,即使是快排.

  10. 深入理解JVM3

    VM运行时数据区域 JVM执行Java程序的过程中,会使用到各种数据区域,这些区域有各自的用途.创建和销毁时间.根据<Java虚拟机规范(第二版)>的规定,JVM包括下列几个运行时数据区域 ...