桌面应用程序准则. [英] Desktop application guidelines.

查看:115
本文介绍了桌面应用程序准则.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我将使用SqlServer在C#.Net中开发桌面应用程序.给我一些指导以启动项目.使用3层架构会更好吗?还是2层?在开始项目之前,我需要注意的主要事项是什么?

我想在C#中做一个数据库应用程序. Net与SQLServer2008.这是一个小型项目,包含大约50个表单.我将使用3层体系结构.

Hi All,

I''m going to develop a desktop application in C# .Net with SqlServer. Give me some guidelines to start the project. Is it better to use 3 tier architecture? or 2 tier? What are the primary things that I need to take care before starting the project?

EDIT : I suppose to do a database application in C# . Net with SQLServer 2008. It is a small project contains about 50 forms. I''m going to use 3 tier architecture.

推荐答案

这个问题太广泛了,无法回答任何实际有用的方法.这样的文章的名称是什么?我猜想是各种桌面应用程序中所有事物编程的通用方法".在1层(如果要使用SQL Server:-的情况下很难选择),2层和3层之间的选择完全取决于您的要求.

在做出进一步的决定之前,您确实应该从收集需求,形式化需求,对用例进行描述和分析,然后进行总体架构草图和分析开始.您需要进入开发的初始阶段;并且此阶段的结果可能会概述您的体系结构.如果您不知道如何进入此阶段,也许您需要选择0层架构? :-)

同时,不要误会我的意思:我不想说在开始之前先阅读一些软件开发方法的书".相反,我建议您自己进行一些负担得起的项目开发方面的实践,并从该经验中学到一些教训.当您对流程感到满意并从(很可能)的错误中学习时,您将真正理解有关方法和技术的书籍.或者,我应该说,在获得一些有关体系结构,设计和开发的基本实践之前,您几乎不会很好地理解它们.

—SA
The question is too broad to answer is any practically useful way. What would be the name of such article? I guess "The Universal Method of Programming of Everything in All Kinds of Desktop Applications". The choice between 1-tier (hardly an option if you want to use SQL Server :-)), 2-tier and 3-tier totally depends on your requirements.

You really should start with gathering requirements, formalizing them, description and analysis of use cases, then general architectural sketch and analysis, before you come to further decisions. You need to come through inception phase in development; and the results of this phase may outline your architecture. If you have no clue how to approach this phase, maybe you need to choose 0-tier architecture? :-)

At the same time, don''t get me wrong: I don''t want to say "read some books of software development methods before you start". Rather, I would advise to get some practice in development of some affordable projects all by yourself and learn some lessons from this experience. When you have a feeling of the process and learn from your (very likely) mistakes, you will really understand the books on methods and technologies. Or, should I say, you will hardly understand them very well before you get some essential practice in architecture, design and development.

—SA


您的问题仅凭一件事是无法回答的,因为您没有提供有关应用程序应该做什么的任何详细信息.那一件事?做一个非常彻底的工作来收集应用要求.
Your question isn''t answerable beyond one thing since you''ve given no details at all about what the application is supposed to do. That one thing? Do a very thorough job gathering the applciation requirements.


这篇关于桌面应用程序准则.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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