设计模式及组件技术在业务逻辑层中的应用  被引量:1

Application of Design Patterns and Component Technology to Business Logic Layer

在线阅读下载全文

作  者:刘锋[1] 孙咏[2] 

机构地区:[1]中国科学院研究生院,北京100049 [2]中国科学院沈阳计算技术研究所,沈阳110171

出  处:《计算机系统应用》2011年第10期154-159,共6页Computer Systems & Applications

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

摘  要:在应用程序的后期维护中,大部分的维护是由于业务逻辑的变化而导致的,但是在基于MVC的开发模式中,只是实现了模型-视图-控制的解耦合,而在业务层中业务之间还存在紧密的耦合关系,如果一个模块发生改动就会产生连锁反映,导致一系列相关模块的改动。以举报业务为例,采用代理模式、工厂模式、接口模式,实现了业务组件调用的动态化及业务组件之间访问的间接化,业务功能与业务逻辑的分离,构建了一个扩展性强、易于维护和配置灵活的业务逻辑层模型。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.

关 键 词:设计模式 组件技术 软件维护性:解耦合 

分 类 号:X321[环境科学与工程—环境工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象