用于建模Fluent API的领域特定语言

M. Vuković, V. Vujovic, Zorana Štaka, S. Milinkovic
{"title":"用于建模Fluent API的领域特定语言","authors":"M. Vuković, V. Vujovic, Zorana Štaka, S. Milinkovic","doi":"10.1109/ECAI58194.2023.10194083","DOIUrl":null,"url":null,"abstract":"The fluent API is most often used when there is a need to implement a certain flow of execution of operations, which is achieved by the method chaining technique. Conventional methods of implementing fluent API such as manual coding require a lot of development time and increase the chances of errors. The lack of visual representation of the relationships between interfaces and methods makes it difficult to understand them. This paper presents the design and implementation of the model-based graphical development tool, which is built using Domain-Specific Language that relies on fluent API grammar rules. The proposed tool is implemented as a Microsoft Visual Studio extension using DSL Tools, and it can be used for graphical modeling of the fluent API structure. Such a graphical development tool is the first step towards the automated process of generating the code skeleton of the fluent API structure out of its domain model.","PeriodicalId":391483,"journal":{"name":"2023 15th International Conference on Electronics, Computers and Artificial Intelligence (ECAI)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Domain-Specific Language for Modeling Fluent API\",\"authors\":\"M. Vuković, V. Vujovic, Zorana Štaka, S. Milinkovic\",\"doi\":\"10.1109/ECAI58194.2023.10194083\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The fluent API is most often used when there is a need to implement a certain flow of execution of operations, which is achieved by the method chaining technique. Conventional methods of implementing fluent API such as manual coding require a lot of development time and increase the chances of errors. The lack of visual representation of the relationships between interfaces and methods makes it difficult to understand them. This paper presents the design and implementation of the model-based graphical development tool, which is built using Domain-Specific Language that relies on fluent API grammar rules. The proposed tool is implemented as a Microsoft Visual Studio extension using DSL Tools, and it can be used for graphical modeling of the fluent API structure. Such a graphical development tool is the first step towards the automated process of generating the code skeleton of the fluent API structure out of its domain model.\",\"PeriodicalId\":391483,\"journal\":{\"name\":\"2023 15th International Conference on Electronics, Computers and Artificial Intelligence (ECAI)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-06-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 15th International Conference on Electronics, Computers and Artificial Intelligence (ECAI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ECAI58194.2023.10194083\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 15th International Conference on Electronics, Computers and Artificial Intelligence (ECAI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ECAI58194.2023.10194083","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

当需要实现一定的操作执行流时,最常使用流畅API,这是通过方法链技术实现的。实现流畅API的传统方法(如手动编码)需要大量的开发时间,并且增加了出错的机会。缺乏接口和方法之间关系的可视化表示使得很难理解它们。本文介绍了基于模型的图形化开发工具的设计和实现,该工具使用领域特定语言构建,依赖于流畅的API语法规则。该工具使用DSL工具作为Microsoft Visual Studio扩展实现,可用于fluent API结构的图形化建模。这种图形化开发工具是朝着从领域模型中生成流畅API结构的代码框架的自动化过程迈出的第一步。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Domain-Specific Language for Modeling Fluent API
The fluent API is most often used when there is a need to implement a certain flow of execution of operations, which is achieved by the method chaining technique. Conventional methods of implementing fluent API such as manual coding require a lot of development time and increase the chances of errors. The lack of visual representation of the relationships between interfaces and methods makes it difficult to understand them. This paper presents the design and implementation of the model-based graphical development tool, which is built using Domain-Specific Language that relies on fluent API grammar rules. The proposed tool is implemented as a Microsoft Visual Studio extension using DSL Tools, and it can be used for graphical modeling of the fluent API structure. Such a graphical development tool is the first step towards the automated process of generating the code skeleton of the fluent API structure out of its domain model.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信