简化的“入门”适用于小型 Prism 应用
我想通过将一个非常简单的 WPF 应用程序转换为基于 Prism 的应用程序来测试一下。任何人都可以给我一个基本的 +- 5 步骤入门流程 - 我需要哪些概念步骤,我将阅读所需的详细信息。开发者指南似乎提供了太多可供选择的细节。下班后我可以去认真阅读一些内容,但现在我只想要一本非常基本的“入门”指南。
I would like to test the waters a little bit by converting a very simple WPF application to a Prism based application. Can anyone give me a basic +- 5 step getting started process - what conceptual steps do I need, and I will do the required reading for details. It just seems the developers guide offers too much detail to choose from. After hours I can go and do some serious reading, but right now I would just like a very basic 'getting started' guide.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
。
您下载了 Prism 库吗?如果没有,请从 这里首先。
一旦您的硬盘上安装了 Prism,您就可以开始阅读 WPF 和 Silverlight.chm 的复合应用程序指南,您可以在 Prism 文件夹中找到它。
我建议您首先阅读“快速入门”这一部分,其中简要解释了作为初学者需要了解的所有内容。本节实际上解释了用于开发复合应用程序的各种技术。为了解释每种技术,它使用两个示例项目(一个在 WPF 中,另一个在 Silverlight 中)演示了该概念。一旦您读完本节并理解了示例项目(甚至不完全),您就可以开始阅读其他部分,例如“技术概念”,它解释了您在“快速入门”中阅读的相同技术,但在很大程度上
读完这两节,我想你对 prism 已经有了相当的了解了。并且不要忘记对“快速入门”中给出的示例进行一些实验。如果您第一次尝试时没有完全理解它,请不要担心。再读一遍,做实验,慢慢你的理解就会越来越好。我花了将近一周的时间才理解了Prism的完整哲学。所以要有耐心! :-)
另外,如果您愿意,您可以查看本教程:
Prism 入门
。
.
Have you downloaded Prism Library? If not, download it from here first.
Once you've Prism on your harddisk, you can start reading Composite Application Guidance for WPF and Silverlight.chm which you would find in your prism folder.
I would recommend you to read first this section "Quick Starts" which explains in brief everything you would need to know as a beginner. This section actually explains various techniques used to develop Composite Application. To explain each technique, it demonstrates the concept using two sample projects (one in WPF, other in Silverlight). Once you finish reading this section and understand the sample projects (even incompletely), you can start reading other section, such as "Technical Concepts" which explains the same techniques which you've read in "Quick Starts" but in great details.
After reading these two sections, I think, you would know prism fairly well. And don't forget to do some experimemt with the examples given in the "Quick Starts". Don't worry if you don't understand it completely at first attempt. Read it again, do experiments, and gradually your understanding will be better and better. It took me almost one week to understand the complete philosophy of Prism. so have patience! :-)
Also, you can see this tutorial if you want to:
Getting started with Prism
.