摘要: 随着分布式技术的发展,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
中图分类号:
陈 乐;杨小虎. MVC模式在分布式环境下的应用研究[J]. 计算机工程, 2006, 32(19): 62-64.
CHEN Le; YANG Xiaohu. Research of Applying MVC Pattern in Distributed Environment[J]. Computer Engineering, 2006, 32(19): 62-64.