热门搜索:   ASP.Net教程   前端开发   etl 工具   sql server 2008   .net 3.5   c#教程   SEO优化   visual studio 2010   ASP.Net 4.0教程   网站安全   ASP.Net MVC 入门视频教程   silverlight 教程   dhl   网站模板-dhl快递
ASP.Net教程
欢迎光临Elock Wong的博客。ASP.Net教程,为您开启WEB编程之门!从基础知识到实例教程,从PDF文档到视频教程,循序渐进地引导大家步入ASP.Net的殿堂。众多的面试题、源码资料、软件下载;近期还推出Ajax 、MVC 和CMS系统教程。相信教程的力量!

 "N-Tier is more about where the code / processes run, and N-Layer is more about how the code is logically grouped."

 

 "In the picture below,...The browser, IIS, and Database all run on 3 separate physical machines, each separated by a network."

 

  

 

"Layers (N-Layer) are more about how you organize your code.   To make your applications more maintainable and extensible, you will want to divide your applications into highly cohesive (High Cohesion GRASP Pattern), loosely coupled (Low Coupling GRASP Pattern) areas of interest, which I call layers.  The picture below is an example of a layering approach that follows the Domain-Driven Design patterns."

 

 

 
------Web Applications: N-Tier vs. N-Layer - Benefits and Trade-Offs From:http://davidhayden.com, Author: David Hayden

 

"N-tier architectures divide code into physical tiers to promote code-reuse. "

 

"N-layer architectures organize code into logical modules to promote code-reuse and minimize failure points."

 

 "N-tier is a phrase most seasoned developers have heard, but it has multiple meanings depending on to whom you talk. In this article I'll define n-tier as, a software architecture methodology that defines distinct physical or process boundaries between application modules.N-tier architectures typically break down tiers into presentation, business, and data tiers, although other tiers and patterns may certainly be used."

 

"N-tier architectures have several advantages, including better code re-use, easier maintenance, enhanced scalability, and fault isolation. However, there are disadvantages as well, such as additional failure points in the application and added complexity as code makes calls between multiple machines on the network. "

 

 "While the term n-tier is certainly relevant for many applications, I prefer to minimize failure points as much as possible and keep things simple. As a result, I subscribe to the n-layer approach, where code is divided into distinct layers (presentation, business, and data for example), but is not separated by physical or process boundaries unless absolutely necessary. Doing this keeps things simple and preserves the principles of code-reuse, easier maintenance, and so on."

 

"There are two main ways to create n-layer applications using Visual Studio .NET 2005 and ASP.NET 2.0 (see Figure 3). The first involves the App_Code folder available in ASP.NET 2.0. The code-behind files in the Web site contain the presentation logic; the business and data classes are placed in App_Code."

 

------The Stratifier Layering ASP.NET Application Code By Dan Wahlin

posted on 2009-12-08 14:02  ASP.Net 4.0教程  阅读(578)  评论(0编辑  收藏  举报

Loading
DHL新闻,将对中国至美国航线DHL,在春节期间DHL中文主页可以办理快递吗,DHL公益关注贫困地区青少年教育,问题DHL装备环保,发动机DHL在中国,内陆DHL网站图片举例,说明代理报关DHL等,知名快递DHL的客服,电话DHL门店
回到顶部