Microsoft(或其他软件生产商)桌面应用程序的设计模式 [英] Design Patterns for Microsoft ( or other software producers) Desktop Application

查看:174
本文介绍了Microsoft(或其他软件生产商)桌面应用程序的设计模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题类似于


  1. 任何窗体表单应用程序最常见的设计模式是什么?

  2. Windows窗体的UI设计模式(如MVVM for WPF )

但我想问一些更具体的内容:我想知道微软使用什么样的设计模式来构建令人印象深刻的桌面应用程序套件包括VS 2008,Microsoft Office等。



任何人都有任何想法?我环顾四周,但我最多只能找到模糊的细节。在这里似乎没有很多信息。编辑:好的,也许我会放松一下这个问题:任何人都知道主要的软件生产者(不只是微软)如何构建他们的桌面应用程序?

解决方案

对于Windows窗体应用程序,我建议您尝试复合UI应用程序块(CAB),您可以在网站中找到许多信息。实践。我自己不是我自己,因为我主要是开发Web应用程序,但是我有一些同事已经使用它,并且真正地推荐它。更多信息 here codeplex



如果您的目标是WPF应用程序,CAB不是那么好。你最好看看所谓的PRISM。我可以解释一下,为什么PRISM在WPF应用程序中比CAB更好,但是在互联网上已经有了很好的解释,你可以找到 here 以及 codeplex



这两个解决方案都是由Microsoft Patterns&实践团队,可以在CodePlex找到...所以我认为这是一个很好的方式!


This question is similar to

  1. What is the most common design patterns for any windows forms application?
  2. UI Design Pattern for Windows Forms (like MVVM for WPF).

But I would like to ask something more specific: I want to know what design patterns Microsoft use to built their impressive array of desktop apps suites, including VS 2008, Microsoft Office and so on.

Anyone has any ideas? I look around but I can only find vague details, at most. There doesn't seem to be a lot of information out there on this.

Edit:OK, maybe I would relax the question a little bit: Anyone knows how any major software producers ( not just Microsoft) build their desktop application?

解决方案

For Windows Form application I suggest that you try out the Composite UI Application Block (CAB) for which you can find a lot of information at the MS Site in Patterns & Practices. I did not us it myself, since I'm mostly developing web application, but I have some collegues who have been using it and who realy recommend it. More information here and at codeplex:

If you are aiming for a WPF application, CAB is not so good. You'd better look at what's called PRISM. I could explain you why PRISM is better than CAB in case of WPF applications, but there's already a very good explanation on the internet which you can find here and also at codeplex:

Both 'solutions' are created by the Microsoft Patterns & Practices Team and can be found at CodePlex... so I think it's a good way to go !

这篇关于Microsoft(或其他软件生产商)桌面应用程序的设计模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆