小型Web应用程序的最佳设计方法 [英] Best design approach for small web application
问题描述
我正在VS 2010中设计一个小型网络应用程序。 该应用程序将包含5或6个网页,允许用户检索,插入和更新信息。 我不确定我应该使用3层架构还是
。 是否应在每个应用程序中使用3层架构? 是否取决于应用程序的大小? 还有另一个好的设计方法可以将数据库逻辑从网页中分离出来吗?
I'm in the process of designing a small web application in VS 2010. The application will contain 5 or 6 web pages that will allow users to retrieve, insert, and update information. I'm not sure If I should use a 3 tier architecture or not. Should a 3 tier architecture be used in every application? Does it depend on the application size? Is there another good design alternative for separating database logic from web pages?
推荐答案
完全取决于你想要用于什么样的架构应用。所有架构模型都存在是有原因的。您必须根据以下主要标准确定哪一个最符合您的需求 -
It is entirely up to you what architecture you'd like to use for your applications. All architecture models exist for a reason. You have to decide which one best fulfills your needs based on the following major criteria -
- 应用程序的复杂性和大小(复杂的架构可能需要更长时间)开发周期)
- 使用模式(单用户或多个并发用户)
- 未来可扩展性要求
- 平台可移植性要求
- 技能集和团队的经验
还有其他考虑因素,但这些是我能想到的。
There could be other considerations too but these are what I could think of right away.
这篇关于小型Web应用程序的最佳设计方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!