入門
從哪里開始學習Prism5.0取決你的目標和你已掌握了多少東西。這里有三個出發點:學習Prism、 開發和部署應用程序、和從Prism4.1升級。
學習Prism: 如果你剛接觸Prism,從這里開始是你正確的選擇。除此之外其他兩塊的內容你也應該讀讀。
- 學習Prism相關的能力: 介紹
- 看看我們怎樣利用Prism①庫中的源碼.
- 學習Prism相關 概念.
- 在哪里問問題呢?
- 是誰創造了 Prism?
- 讓你的機器准備好!.(意思是在你的機器上安裝,配置好Prism)
- 從哪里獲取Prism5.0程序集.
- 創建你的第一個組合式Prism應用:使用Prism入門——動手實驗室.
- 部署Prism應用:發布和升級使用了Prism的應用程序——動手實驗室
介紹


初始化Prism應用


管理組件間的依賴


模塊化應用程序開發


MVVM模式
MVVM模式可以讓程序更易測,更易維護。還能提高代碼的重復使用率,允許開發者和設計者更容易的合作。我們還需了解在MVVM模式下怎樣使用組合式命令,處理異步交互,實現用戶交互模式,連接視圖到視圖模型上。

下載代碼
- MVVM快速入門 (源碼下載)
更多信息
- 實現 MVVM 模式(文章)
- 進擊的MVVM (文章,直譯過來是先進的MVVM場景,是講一些復雜的情況下,MVVM的一些應用)
- MVVM快速入門 (文章)
組合式界面
學習怎使用松耦合的WPF視覺組件構建你的界面。創造出對設計友好的有設計時數據的界面。


導航
MVVM模式下,組合式WPF應用的視圖是如何利用導航切換的呢?下面主要介紹兩種導航,基於狀態導航和基於視圖導航。


下載代碼
- 基於狀態導航快速入門 (源碼下載)
- 視圖切換快速入門 (源碼下載)
- 交互快速入門 (源碼下載)
更多信息
- 導航(文章)
- 基於狀態導航快速入門(文章)
- 視圖切換快速入門(文章)
- 交互快速入門(文章)
松耦合組件之間的通信
松耦合的模塊間是通過什么機制通信的呢?有這樣幾種方式:命令,區域上下文,共享服務,事件聚合。


下載代碼
更多信息
- 松耦合組件之間的通信(文章)
- 事件聚合快速入門(文章)
- 命令快速入門 (文章)
部署Prism應用
部署組合式WPF應用,三種方式:Xcopy ,ClickOnce, Windows Installer.



下載代碼
更多信息
- Prism中的設計模式(文章)
- 股票操盤參考實現(文章)
- 一些代碼示例(文章)
- 使用Prism入門——動手實驗室(文章)
Prsim庫
看看Prism庫是為誰開發的,庫中的內容是如何組織的,怎樣更改源代碼,怎樣運行相關測試。

下載代碼和程序集
- Prism NuGet 包(文章)
- Prism.Composition NuGet 包(文章)
- Prism.Interactivity NuGet 包(文章)
- Prism.UnityExtensions NuGet 包(文章)
- Prism.MefExtensions NuGet 包(文章)
- Prism.Mvvm NuGet 包(文章)
- Prism.PubSubEvents NuGet 包 (文章)
- Prism源代碼(文章)
更多信息
- Prism庫(文章)
從Prsim4.1升級
學習怎樣從Prsim4.1項目升級到Prsim5.0。這里包含改變的引用,命名空間,和APIs。
更多信息
- What's New in Prism Library 5.0 for WPF Prism5,0新內容 (文章)
- Upgrading from Prism Library 4.1 從Prism4.1升級 (文章)
擴展Prism庫
怎樣更改Prism默認行為:引導,容器,日志,模塊,區域,導航,還有視圖模型定位器。
更多信息
許可證
接下來
- Prism 下載:下載源碼或者文檔,獲取NuGet包連接,或者瀏覽此Prism版本的全部內容。
- 介紹:閱讀下一篇文章。
社區
Prism社區網站是:
- Prism: http://www.codeplex.com/Prism
- PubSubEvents (Event Aggregator): http://www.codeplex.com/pnpPubSubEvents
- MVVM: http://www.codeplex.com/pnpMvvm
這這些社區網站上,你可以提交問題,提供反饋,或者聯系其他開發者分享你的想法。
團隊博客
隨時了解Prism信息和 patterns & practices(模式與實踐).
Name |
Blogs and Home Pages |
|
---|---|---|
Blaine Wastell |
||
Francis Cheung |
||
patterns & practices |
為你帶來本指南的團隊
Prism是下面這些大神制作的
patterns & practices團隊:
Microsoft Corporation |
Blaine Wastell, Francis Cheung, Nelly Delgado, Rohit Sharma, RoAnn Corbisier |
Southworks SRL |
Diego Poza |
Icertis Inc. |
Poornimma Kaliappan |
此指南之前版本的貢獻者:
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 |
感謝下面這些人的幫助
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.