将CRUD映射到事件——从对象到事件源框架

Michail Pantelelis, Christos Kalloniatis
{"title":"将CRUD映射到事件——从对象到事件源框架","authors":"Michail Pantelelis, Christos Kalloniatis","doi":"10.1145/3575879.3576006","DOIUrl":null,"url":null,"abstract":"Accessing objects in software applications usually breaks down to four basic operations: Create, Read, Update, and Delete (CRUD). The latter is a well-known pattern in software development and web application domains. CRUD has been applied primarily to relational database-backed systems, object-relational mappers (ORMs), and relevant tools since the early ’80s. In the era of cloud computing, though, relational databases are not always the most efficient service to store application data due to the application requirements shifting towards non-functional requirements such as observability. Command Query Responsibility Segregation (CQRS) and Event Sourcing (ES) are a couple of alternative patterns on which one can build applications. However, there is a lack of tooling and guidance, especially for inexperienced practitioners. In addition, as reported in the literature, this approach requires a thorough understanding of the application domain. In this paper, we investigate the possibility of bridging CRUD modeling technics with the CQRS-ES patterns systematically and generically. Upon success, we will be able to build new event-sourced applications in the same manner as we now utilize ORMs and tools to accelerate the process. Moreover, legacy systems might also benefit by enhancing their current operation with an event-source component and, if needed, gradually replacing obsolete parts.","PeriodicalId":164036,"journal":{"name":"Proceedings of the 26th Pan-Hellenic Conference on Informatics","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Mapping CRUD to Events - Towards an object to event-sourcing framework\",\"authors\":\"Michail Pantelelis, Christos Kalloniatis\",\"doi\":\"10.1145/3575879.3576006\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Accessing objects in software applications usually breaks down to four basic operations: Create, Read, Update, and Delete (CRUD). The latter is a well-known pattern in software development and web application domains. CRUD has been applied primarily to relational database-backed systems, object-relational mappers (ORMs), and relevant tools since the early ’80s. In the era of cloud computing, though, relational databases are not always the most efficient service to store application data due to the application requirements shifting towards non-functional requirements such as observability. Command Query Responsibility Segregation (CQRS) and Event Sourcing (ES) are a couple of alternative patterns on which one can build applications. However, there is a lack of tooling and guidance, especially for inexperienced practitioners. In addition, as reported in the literature, this approach requires a thorough understanding of the application domain. In this paper, we investigate the possibility of bridging CRUD modeling technics with the CQRS-ES patterns systematically and generically. Upon success, we will be able to build new event-sourced applications in the same manner as we now utilize ORMs and tools to accelerate the process. Moreover, legacy systems might also benefit by enhancing their current operation with an event-source component and, if needed, gradually replacing obsolete parts.\",\"PeriodicalId\":164036,\"journal\":{\"name\":\"Proceedings of the 26th Pan-Hellenic Conference on Informatics\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-11-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 26th Pan-Hellenic Conference on Informatics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3575879.3576006\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 26th Pan-Hellenic Conference on Informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3575879.3576006","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

在软件应用程序中访问对象通常分为四种基本操作:创建、读取、更新和删除(CRUD)。后者是软件开发和web应用程序领域中众所周知的模式。自80年代初以来,CRUD主要应用于关系数据库支持的系统、对象关系映射器(object-relational mapping, orm)和相关工具。然而,在云计算时代,关系数据库并不总是存储应用程序数据的最有效的服务,因为应用程序需求转向了非功能需求,比如可观察性。命令查询职责分离(CQRS)和事件溯源(ES)是可以在其上构建应用程序的两个备选模式。然而,缺乏工具和指导,特别是对于没有经验的从业者。此外,正如文献中所报道的那样,这种方法需要对应用程序领域有透彻的了解。在本文中,我们研究了将CRUD建模技术与CQRS-ES模式系统地、通用地桥接起来的可能性。一旦成功,我们将能够以与现在利用orm和工具加速流程相同的方式构建新的事件源应用程序。此外,遗留系统还可以通过使用事件源组件增强其当前操作,并在需要时逐步替换过时的部件而受益。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Mapping CRUD to Events - Towards an object to event-sourcing framework
Accessing objects in software applications usually breaks down to four basic operations: Create, Read, Update, and Delete (CRUD). The latter is a well-known pattern in software development and web application domains. CRUD has been applied primarily to relational database-backed systems, object-relational mappers (ORMs), and relevant tools since the early ’80s. In the era of cloud computing, though, relational databases are not always the most efficient service to store application data due to the application requirements shifting towards non-functional requirements such as observability. Command Query Responsibility Segregation (CQRS) and Event Sourcing (ES) are a couple of alternative patterns on which one can build applications. However, there is a lack of tooling and guidance, especially for inexperienced practitioners. In addition, as reported in the literature, this approach requires a thorough understanding of the application domain. In this paper, we investigate the possibility of bridging CRUD modeling technics with the CQRS-ES patterns systematically and generically. Upon success, we will be able to build new event-sourced applications in the same manner as we now utilize ORMs and tools to accelerate the process. Moreover, legacy systems might also benefit by enhancing their current operation with an event-source component and, if needed, gradually replacing obsolete parts.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信