期刊文献+

生成业务规则的一种方法及其解耦

A method of generating business rules and decoupling
下载PDF
导出
摘要 应用系统中,业务规则的变更频繁,不利于系统的维护.为提升可维护性,在分析业务场景的基础上,使用类型映射减少在用户与规则之间耦合,通过定义业务规则的约束减少业务数据与规则之间的耦合,另外以依赖倒置原则为思想,设计规则、条件、运算符、事实库的类图,通过阻断判断机制与具体条件、运算类型的联系,从而完成规则与判断机制、业务数据之间的解耦.最后使用VS2013中的软件复杂度测评工具对解耦的效果进行测评,测评结果证明了解耦策略的可行性. In application system,the frequent changes of business rules don't favor the system's maintenance. In order to improve the maintainability,based on analyzing the business scene,type mapping is used to reduce coupling between the users and the rules. Constraint method of business rules is used to reduce the relationship between business data and rules. According to the dependency inversion principle,class diagram of rules,conditions,operators and fact base are designed for breaking connections between judgment mechanism and rules,so as to accomplish the decoupling between them. Finally,the software complexity evaluation tool of VS2013 is used to evaluate the decoupling effect,and the result proves the feasibility of the decoupling strategy.
作者 黄玮
出处 《闽江学院学报》 2016年第5期59-64,共6页 Journal of Minjiang University
基金 福建中青年教师教育科研项目(JA15426)
关键词 业务规则 耦合 依赖倒置 business rule coupling dependency inversion
  • 相关文献

参考文献5

二级参考文献51

共引文献23

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部