Combining Models with Code: A Tale of Two Languages

Qin Ma, Sam Schmit, Christian Glodt, Pierre Kelsen
{"title":"Combining Models with Code: A Tale of Two Languages","authors":"Qin Ma, Sam Schmit, Christian Glodt, Pierre Kelsen","doi":"10.1109/ICGSEW.2014.9","DOIUrl":null,"url":null,"abstract":"In the pure model-driven view of software engineering, models are the sole artifacts to be created and maintained and executable source code is entirely generated from the models. However, due to the variety of modern platforms and the complexity of capturing them correctly in models, this vision has not yet been fully realized. In this paper, we propose an approach that allows combining high-level models with low-level code into an executable system. The approach is based on two modeling languages, one presenting a common abstraction of modeling and programming languages, and the other allowing to express the bridge between the model and code. We illustrate our approach using a running example of an invoicing system for which the business logic requirements are captured by an executable model and the requirements on the graphical user interface are directly mocked up using a GUI designer tool that generates Java code.","PeriodicalId":396979,"journal":{"name":"2014 IEEE International Conference on Global Software Engineeering Workshops","volume":"40 7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-08-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 IEEE International Conference on Global Software Engineeering Workshops","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICGSEW.2014.9","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In the pure model-driven view of software engineering, models are the sole artifacts to be created and maintained and executable source code is entirely generated from the models. However, due to the variety of modern platforms and the complexity of capturing them correctly in models, this vision has not yet been fully realized. In this paper, we propose an approach that allows combining high-level models with low-level code into an executable system. The approach is based on two modeling languages, one presenting a common abstraction of modeling and programming languages, and the other allowing to express the bridge between the model and code. We illustrate our approach using a running example of an invoicing system for which the business logic requirements are captured by an executable model and the requirements on the graphical user interface are directly mocked up using a GUI designer tool that generates Java code.
结合模型和代码:两种语言的故事
在软件工程的纯模型驱动视图中,模型是要创建和维护的唯一工件,可执行的源代码完全由模型生成。然而,由于现代平台的多样性以及在模型中正确捕获它们的复杂性,这一愿景尚未完全实现。在本文中,我们提出了一种方法,允许将高级模型与低级代码组合成一个可执行系统。该方法基于两种建模语言,一种表示建模和编程语言的公共抽象,另一种允许表示模型和代码之间的桥梁。我们使用一个正在运行的发票系统示例来说明我们的方法,该系统的业务逻辑需求由可执行模型捕获,图形用户界面上的需求使用生成Java代码的GUI设计器工具直接模拟。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信