###
DOI:
计算机系统应用英文版:2011,20(10):154-159
本文二维码信息
码上扫一扫!
设计模式及组件技术在业务逻辑层中的应用
(1.中国科学院 研究生院,北京 100049;2.中国科学院 沈阳计算技术研究所,沈阳 110171)
Application of Design Patterns and Component Technology to Business Logic Layer
(1.Graduate University, Chinese Academy of Sciences, Beijing 100049, China;2.Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110171, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 2092次   下载 4568
Received:January 28, 2011    Revised:March 03, 2011
中文摘要: 在应用程序的后期维护中,大部分的维护是由于业务逻辑的变化而导致的,但是在基于MVC 的开发模式中,只是实现了模型-视图-控制的解耦合,而在业务层中业务之间还存在紧密的耦合关系,如果一个模块发生改动就会产生连锁反映,导致一系列相关模块的改动。以举报业务为例,采用代理模式、工厂模式、接口模式,实现了业务组件调用的动态化及业务组件之间访问的间接化,业务功能与业务逻辑的分离,构建了一个扩展性强、易于维护和配置灵活的业务逻辑层模型。
Abstract:In the post-maintenance of software application, the change of business logic layer occupies the majority, but some traditional development frames, for example structs, spring and so on, which based on MVC pattern has only realized the model-view-control solution coupling, however the business also has the close coupling relations in the business logic layer. If a change happens in the module, that will cause a chain-like reflection and a series of related modules change. This article uses the business case report as an example, which achieved the business component transfers and the business component visits indirectly, separated the business functions from business logic, so constructed an extension strong, easy to maintain and configure nimble module in business logic layer.
文章编号:     中图分类号:    文献标志码:
基金项目:国家水体污染控制与治理科技重大专项(2009ZX07528-006-05)
引用文本:
刘锋,孙咏.设计模式及组件技术在业务逻辑层中的应用.计算机系统应用,2011,20(10):154-159
LIU Feng,SUN Yong.Application of Design Patterns and Component Technology to Business Logic Layer.COMPUTER SYSTEMS APPLICATIONS,2011,20(10):154-159