{"title":"Component generator for the development of RESTful APIs","authors":"Ionut-Alexandru Baltariu, Cătălin Mironeanu","doi":"10.1109/ICSTCC55426.2022.9931876","DOIUrl":null,"url":null,"abstract":"Automating repetitive steps in the development process of any product is an engineering desideratum. Every software product has an early development stage consisting of creating components that allow the use of a set of predefined resources. We show that this stage can be automated, with a positive impact on implementation time and the prevention of possible logical or operational errors due to the human factor. We consider that by simply describing the entities (resources) that are to be used in the development process in a technical way, the whole source code with the implementations of CRUD operations on the previously defined resources will be obtained. The source code can be used as a starting point, reducing the time spent on repetitive details, which are usually standardized but rarely automated. The solution is to streamline the development process of RESTful APIs, and the method chosen to make this possible is automatic generation of software components. The proposed method is based on template-based code generation (TBCG) - creating templates that involve aggregating the code to be generated (static parts) with a high-level language (dynamic parts) that allows various operations, such as decision making, statement repetition and data transformation.","PeriodicalId":220845,"journal":{"name":"2022 26th International Conference on System Theory, Control and Computing (ICSTCC)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 26th International Conference on System Theory, Control and Computing (ICSTCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSTCC55426.2022.9931876","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Automating repetitive steps in the development process of any product is an engineering desideratum. Every software product has an early development stage consisting of creating components that allow the use of a set of predefined resources. We show that this stage can be automated, with a positive impact on implementation time and the prevention of possible logical or operational errors due to the human factor. We consider that by simply describing the entities (resources) that are to be used in the development process in a technical way, the whole source code with the implementations of CRUD operations on the previously defined resources will be obtained. The source code can be used as a starting point, reducing the time spent on repetitive details, which are usually standardized but rarely automated. The solution is to streamline the development process of RESTful APIs, and the method chosen to make this possible is automatic generation of software components. The proposed method is based on template-based code generation (TBCG) - creating templates that involve aggregating the code to be generated (static parts) with a high-level language (dynamic parts) that allows various operations, such as decision making, statement repetition and data transformation.