作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (19): 62-64. doi: 10.3969/j.issn.1000-3428.2006.19.023

• 软件技术与数据库 • 上一篇    下一篇

MVC模式在分布式环境下的应用研究

陈 乐,杨小虎   

  1. (浙江大学计算机学院,杭州310027)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-05 发布日期:2006-10-05

Research of Applying MVC Pattern in Distributed Environment

CHEN Le, YANG Xiaohu   

  1. (College of Computer Science, Zhejiang University, Hangzhou 310027)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-05 Published:2006-10-05

摘要: 随着分布式技术的发展,MVC的含义和用途变得更加广泛,不仅可以用于组件的构造,也可用于分布式程序的设计。文章介绍了传统的MVC模式,分析了在分布式环境下如何合理、有效地应用MVC模式,并在此基础上结合Web Services和消息中间件技术,提出了一个分布式MVC模式的实现框架。该框架可以帮助创建结构良好、松散耦合的分布式应用。

关键词: MVC模式, 分布式应用, 表示层模型, 域模型, Web服务, 消息中间件

Abstract: As the distributed technique develops, the use of MVC becomes wider and wider, MVC is no longer limited to the construction of components, but also can be used in the software design of distributed application. This paper introduces basic concepts of MVC pattern, analyzes how to apply the MVC pattern properly and efficiently in distributed environment and provides an implementation framework for distributed MVC pattern using Web services and message oriented middleware. This framework can help to build a well-architected, loosely-coupled distributed application.

Key words: MVC pattern, Distributed application, Presentation model, Domain model, Web services, Message oriented middleware

中图分类号: