{$cfg_webname}
主页 > 外文翻译 > 计算机翻译 >

Web层的MVC设计(含外文出处)

来源:56doc.com  资料编号:5D9393 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D9393
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

Web层的MVC设计(含外文出处)(中文4200字,英文2900字)
外文出处:    (外文)  Expert One-on-One J2EE Design and
Development by Rod Johnson                                     
附   件:    1.外文资料翻译译文;  2.外文原文
在本章中,我们将讨论Web层的设计,以及如何保证Web接口是一个以业务对象和总体应用基础机构为基础的、简单而又可维护的层。
这是一个非常重要的题目。设计不良的Web接口是导致不可维护应用和整个项目失败的捷径之一。经验证明设计不良的Wev接口会导致在卡法工作中要付出巨大的代价,而首先使笔者对J2EE设计产生强烈兴趣的是业务员机会。
在全面考虑了我们在Web应用设计中要经历避免的各种问题之后,我们将关注MVC体系结构模式,该模式已经证实它对编写成功的Web接口是至关重要的。
在研究了MVC理论及MVC模式的成功实现所共有的各种概念之后,我们将了解3个开源MVC Web应用框架:Struts、Maverick和WebWork.。然后,我们将了解一个与十一章所介绍的基础架构集成在一起的、简单但强有力的Web应用框架,而且我们将在实力应用中使用这个框架。和我们迄今为止所见过的基础结构构件一样,这个框架是为实际应用而设计,而不仅仅用作一个演示。

外文原文(复印件)
Web-Tier MVC Design
Overview
In this chapter we'll look at web-tier design and how to ensure that a web interface is a simple and maintainable layer built on business objects and overall application infrastructure.
This is a very important topic. A poorly designed web interface is one of the quickest paths to an unmaintainable application and overall project failure. Experience with poorly designed web interfaces that proved hugely expensive in development effort and business opportunity first made me passionate about J2EE design.
After surveying the problems we seek to avoid in web application design, we'll focus on the MVC architectural pattern, which has proven the key to writing successful web interfaces.
After examining MVC theory and the concepts shared between successful implementations of the MVC pattern, we'll look at three open source MVC web application frameworks: Struts, Maverick, and Web Work. We'll then look at the design and use of a simple but powerful web application framework integrated with the infrastructure that I introduced in the last chapter, and which we'll use for the sample application. Like the infrastructure components we've seen so far, this framework is intended for use in real applications, and not merely as a demo.

推荐资料