Domain-Specific Language for Modeling Fluent API

M. Vuković, V. Vujovic, Zorana Štaka, S. Milinkovic
{"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}
引用次数: 0

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于建模Fluent API的领域特定语言
当需要实现一定的操作执行流时,最常使用流畅API,这是通过方法链技术实现的。实现流畅API的传统方法(如手动编码)需要大量的开发时间,并且增加了出错的机会。缺乏接口和方法之间关系的可视化表示使得很难理解它们。本文介绍了基于模型的图形化开发工具的设计和实现,该工具使用领域特定语言构建,依赖于流畅的API语法规则。该工具使用DSL工具作为Microsoft Visual Studio扩展实现,可用于fluent API结构的图形化建模。这种图形化开发工具是朝着从领域模型中生成流畅API结构的代码框架的自动化过程迈出的第一步。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Unveiling Threats: Leveraging User Behavior Analysis for Enhanced Cybersecurity Optimal Placement and Sizing of Static Var Compensators in Radial Distribution Networks Using Artificial Intelligence Techniques Electro-Thermal Equivalent Circuit of Lithium-Ion Battery Using COMSOL The dimensions balance of the energy trilemma and the current energy crisis Remaining Useful Life Prediction Method for the Rolling Element of an Electrical Machine Using Linear Regression Analysis of the Vibration Signal of a Faulted Bearing
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1