面向领域驱动设计的逆向建模支持方法  被引量:5

Reverse Modeling Support Method for Domain-driven Design

在线阅读下载全文

作  者:钟陈星 李文君 任贵杰 荣国平[1,2] ZHONG Chen-Xing;LI Wen-Jun;REN Gui-Jie;RONG Guo-Ping(Software Institute,Nanjing University,Nanjing 210093,China;State Key Laboratory for Novel Software Technology(Nanjing University),Nanjing 210023,China)

机构地区:[1]南京大学软件学院,江苏南京210093 [2]计算机软件新技术国家重点实验室(南京大学),江苏南京210023

出  处:《软件学报》2022年第7期2562-2580,共19页Journal of Software

基  金:国家自然科学基金(62072227,61802173);国家重点研发计划(2019YFE0105500);江苏省政府间双边创新项目(BZ2020017);南京大学计算机软件新技术国家重点实验室创新项目(ZZKT2019B01)

摘  要:领域驱动设计作为一种应对领域复杂性的软件开发方法,近年来得到了广泛应用.作为其中的关键步骤,领域建模仍然面临着领域模型与程序设计之间松散的逻辑关系带来的种种问题.为了应对此问题,基于模型驱动的逆向工程,提出了一种面向领域驱动设计的代码到模型的转换方法,以更好地支持领域建模,并实现了自动化工具原型.该方法能够实时抽象出程序设计对应的领域模型,一方面有助于通过对比程序设计与领域模型的分歧来避免设计偏离模型,另一方面减少了知识消化过程中对代码实现细节的依赖,从而促进了程序设计对建模过程的反馈.案例研究部分将该方法应用于实际软件项目,结果充分表明了其有效性.As a software development method to tackling the domain complexity,domain-driven design has been widely applied in recent years.However,as a key activity in domain-driven design,domain modeling is still facing the problems caused by the loose relationship between domain model and programming.To address this issue,this study proposes a code to model transformation method following the model-driven reverse engineering methodology.The method can abstract model designing from code in real-time,thus facilitates domain modeling in two ways.On the one hand,it enables comparing domain model and programs to avoid the deviation of programming from modeling.On the other hand,it reduces the dependence on the code details during the knowledge crunching process,thus promotes the feedback on modeling.A case study is conducted in a real scenario and it proves the validity of the proposed method.

关 键 词:领域驱动设计 代码到模型转换 模型驱动的逆向工程 领域模型 程序设计 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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