{"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}
引用次数: 0
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.