什么是任何Windows窗体应用程序中最常见的设计模式? [英] What is the most common design patterns for any windows forms application?
问题描述
我问,当我将使用C#显示股票数据,并提出一些用户交互开发一个客户端应用程序,所以给我联系你之前
读最好的教程< DIV CLASS =h2_lin>解决方案
的杰里米米勒的指南是一个很好的起点。它涵盖了包括一些重要的模式:
- 的模型 - 视图 - 控制器 - 有几种口味,让一定要检查他们全部
- 的 GUI的自动化单元测试绑定代码
- 的 Command模式
- 的注册表
您也想看看控制和依赖反转的反转。 福勒的概述很好地解释这一概念的一个好工作。当你看了这一点,这里是一个的教程只是一个执行一个IoC工具。
如果你仍然渴望更多,检查出的微软的复合应用程序块纽曼丰富的系列。驾驶室充满了模式,但要避免官方文档,因为它是非常困难的。
I am asking about that as I am going to develop a client side application using c# to display stock data and make some user-interaction, so give me links for best tutorials you read before
Jeremy Miller's guide is an excellent starting place. It covers several important patterns including:
- Model - View - Controller - There are several flavours, make sure you examine them all
- Automated unit testing of GUI binding code
- Command pattern
- Registry
You will also want to look at inversion of control and dependency inversion. Fowler's overview does a good job of explaining the concept. When you've looked at this, here is a tutorial on just one implementation of an IoC tool.
If you are still hungry for more, check out Rich Newman's series on Microsoft's Composite Application Block. The CAB is chock full of patterns, but avoid the official documentation as it is notoriously difficult.
这篇关于什么是任何Windows窗体应用程序中最常见的设计模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!