浅尝三层架构

来源:未知 责任编辑:责任编辑 发表时间:2014-03-23 22:29 点击:

为什么需要三层结构?
对于开发系统来说,我们要考虑系统性能如何?是否具有足够的容错能力?能否从容应对客户不断变化的需求?面向对象思想的确很酷,可是在工程实践中的实际应用状况又是怎样的?怎样才能使我们的代码具有最大的“可重用性”和“可扩展性”?传说中的三层结构和设计模式又是什么东西?层次结构在现实社会里随处可见。记得有个笑话讲有个村长得意地向他老婆吹牛:“全中国只有四个人比我官大,乡长、县长、省长和国务院总理”。这个笑话也体现了真实社会中分层的现象。社会HTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html ;HTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html nHTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html 紿TTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html ;HTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html tHTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html ;HTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html lHTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html DHTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html pHTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html nHTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html sHTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html /HTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html ;HTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html pHTTP/1.1 200 OK Server: Apache Content-Length: 206 Content-Type: text/html

发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
用户名: 验证码:点击我更换图片
最新评论 更多>>

推荐热点

  • 浅析.NET下XML数据访问新机制
  • asp.net 面试+笔试题目第1/2页
  • C# 邮件地址是否合法的验证
  • asp.net 设置GridView的选中行的实现代码
  • C#高级编程:数据库连接[1]
  • 经典C++程序1
  • IIS 自动回收导致后台定时器失效的问题解决
  • ASP.NET GridView列表代码示例
  • Asp.net MVC源码分析--Action Filter的链式调用
网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
Copyright © 2008-2015 计算机技术学习交流网. 版权所有

豫ICP备11007008号-1