patterns & practices: Prism - Home 参考:http://compositewpf.codeplex.com/
Welcome to the Prism Community
Overview
Prism provides guidance designed to help you more easily design and build rich, flexible, and easy-to-maintain Windows Presentation Foundation (WPF) desktop applications, Silverlight Rich Internet Applications (RIAs), and Windows Phone 7 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 that can be easily and seamlessly integrated into the overall application. These types of applications are known as composite applications.
Prism includes reference implementations, QuickStarts, reusable library code (the Prism Library), and extensive documentation. This version of Prism targets the Microsoft .NET Framework 4.0 and Silverlight 4 and includes new guidance around the Model-View-ViewModel (MVVM) pattern, navigation, and the Managed Extensibility Framework (MEF). Because Prism is built on the .NET Framework 4.0 (which includes WPF) and Silverlight 4, familiarity with these technologies is useful for evaluating and adopting Prism.
Intended Audience
Prism is intended for software developers building WPF or Silverlight applications that typically feature multiple screens, rich user interaction and data visualization, and that embody significant presentation and business logic. These applications typically interact with a number of back-end systems and services and, using a layered architecture, may be physically deployed across multiple tiers. It is expected that the application will evolve significantly over its lifetime in response to new requirements and business opportunities. In short, these applications are "built to last" and "built for change." Applications that do not demand these characteristics may not benefit from using Prism.
It should be noted that while Prism is not difficult to learn, developers must be ready and willing to embrace patterns and practices that may be new to them. Management understanding and commitment is crucial, and the project deadline must accommodate an investment of time up front for learning these patterns and practices.
Getting Started
Additional Links
- Windows Phone 7 Developer Guide is under development. Download it here .
- The ManifestManagerUtility for ClickOnce deployment can be found here.
- Project Linker on Visual Studio Gallery here.
- MVVM Training here.
- The patterns & practices roadmap can be found here.
- Scope for Windows 8 Line of Business (LOB) guidance.
Previous Releases
- Prism 2.1 targetting Visual Studio 2008, WPF and Silverlight 3, named Composite Application Guidance can be downloaded on MSDN here.
- To learn about upgrading from previous versions of Prism, go here.
Future Releases
- Prism 4.1 targetting Silverlight 5. Go here to learn about future releases.
- Prism 4.5 targetting .NET 4.5.
|