设计模式及组件技术在业务逻辑层中的应用
DOI:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家水体污染控制与治理科技重大专项(2009ZX07528-006-05)


Application of Design Patterns and Component Technology to Business Logic Layer
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    在应用程序的后期维护中,大部分的维护是由于业务逻辑的变化而导致的,但是在基于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.

    参考文献
    相似文献
    引证文献
引用本文

刘锋,孙咏.设计模式及组件技术在业务逻辑层中的应用.计算机系统应用,2011,20(10):154-159

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2011-01-28
  • 最后修改日期:2011-03-03
  • 录用日期:
  • 在线发布日期:
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号