按N层,单层,两层和三层进行定义. [英] Define by N-Tier, Single Tier, Two Tier, and Three tier.

查看:97
本文介绍了按N层,单层,两层和三层进行定义.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按N层,单层,两层和三层定义.

Define by N-Tier, Single Tier, Two Tier, and Three tier.

推荐答案

来自Wiki:N层:
software engineering中,多层体系结构(通常称为n层体系结构)是客户端-服务器体系结构,其中,表示,应用程序处理和数据管理在逻辑上是独立的过程.
例如,使用中间件为用户和数据库之间的数据请求提供服务的应用程序采用多层体系结构. 多层体系结构" 的最广泛使用是指三层体系结构.

单层:
单层体系结构是具有Web应用程序的用户界面,中间件和数据访问全部包含在一个整体体系结构中的概念.
通常在Software Engineering中,您破坏了应用程序以使其更具可维护性和可持续性.
如果您知道您的软件不会随着时间的推移而增长,那么您可能想要做一个单层体系结构.

两层:
client/server环境中的双向交互,其中用户界面存储在客户端中,数据存储在服务器中.应用程序逻辑可以在客户端或服务器中.

三层:

请参阅我的答案使用c#的三层应用程序 [
From Wiki: N-tier:
In software engineering, multi-tier architecture (often referred to as n-tier architecture) is a client-server architecture in which, the presentation, the application processing and the data management are logically separate processes.
For example, an application that uses middleware to service data requests between a user and a database employs multi-tier architecture. The most widespread use of "multi-tier architecture" refers to three-tier architecture.

Single tier:
Single-tier architecture is the notion of having the user interface of a web application, the middle ware and the data access all contained in one whole architecture.
Usually in Software Engineering you break your application to make them more maintainable and sustainable.
If you know that your software will not grow over time, you may want to do a single tier architecture.

Two tier:
A two-way interaction in a client/server environment, in which the user interface is stored in the client and the data are stored in the server. The application logic can be in either the client or the server.

Three-tier:

Refer my answer 3tier application using c#[^]


从这里开始阅读: WikiPedia:多体系结构 [ MSDN:分层应用程序 [
Start reading from here: WikiPedia: Multi architecture[^]

Follow it up by: MSDN: Layered Application[^]


N层应用程序体系结构为开发人员提供了一个创建灵活且可重复使用的应用程序的模型.通过将应用程序划分为多个层,如果开发人员决定更改技术或扩大规模,则只需修改或添加特定的层,而不必重写整个应用程序.在术语"N层"中,"N" 表示任何数字,例如 2 层或 4 层;基本上,您的体系结构中使用了许多不同的层.
看看下面的文章:
http://www.c-sharpcorner.com/UploadFile/asprabahar/NTier0110302006051423423AM/NTier01.aspx [ ^ ]
http://www.offshoredotnetdevelopment.com/n-tier-architecture.shtml [ ^ ]

看一下codeproject中的以下答案:
使用的1层,2层,3层Architech之间的差异ASP.NET? ........... [
N-tier application architecture provides a model for developers to create a flexible and reusable application. By breaking up an application into tiers, developers only have to modify or add a specific layer, rather than have to rewrite the enitire application over, if they decide to change technologies or scale up. In the term "N-tier," "N" implies any number -- like 2-tier, or 4-tier; basically, any number of distinct tiers used in your architecture.
Have a look at below article:
http://www.c-sharpcorner.com/UploadFile/asprabahar/NTier0110302006051423AM/NTier01.aspx[^]
http://www.offshoredotnetdevelopment.com/n-tier-architecture.shtml[^]

Have a look at below answer in codeproject:
Difference Between 1 tier ,2 tier, 3 tier Architech using ASP.NET ? ...........[^]


这篇关于按N层,单层,两层和三层进行定义.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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