Full text

Turn on search term navigation

© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.

Abstract

Domain-Specific Languages with JSON grammar (JSON-DSLs) are specialized programming languages tailored to specific problem domains, offering higher abstraction levels and simplifying software implementation through the JSON standard. RhoArchitecture is an approach for designing and executing JSON-DSLs, incorporating a modular programming model, a JSON-based evaluation engine, and an integrated web development environment. This paper presents RestRho, a RESTful NodeJS server developed using two JSON-DSLs designed with RhoArchitecture: SQLRho and DBRestRho. These languages enable declarative specification of database operations and HTTP requests, respectively, supporting modularity, reuse, and template-based transformations. We validate the RestRho implementation through a dual approach. First, we apply software metrics to assess code quality, maintainability, and complexity. Second, we conduct an empirical study involving 39 final-year computer engineering students, who completed 18 structured tasks and provided feedback via questionnaires. The results demonstrate the tool’s usability, development efficiency, and potential for adoption in web application development.

Details

Title
RestRho: A JSON-Based Domain-Specific Language for Designing and Developing RESTful APIs to Validate RhoArchitecture
Author
Chavarriaga Enrique 1 ; Rojas, Luis 2 ; Rodríguez, Francy D 3   VIAFID ORCID Logo  ; Sorbello Kat 4   VIAFID ORCID Logo  ; Jurado, Francisco 5   VIAFID ORCID Logo 

 Departament I+D+i, UGround Global S.L., 28003 Madrid, Spain; [email protected] 
 Facultad de Ingeniería, Universidad San Sebastián, Santiago 8420524, Chile 
 Computer Engineering Department, Universidad Politécnica de Madrid, 28223 Madrid, Spain; [email protected] 
 The Stella Way, Brisbane 4118, Australia; [email protected] 
 Department of Computer Engineering, Universidad Autónoma de Madrid, 28049 Madrid, Spain 
First page
346
Publication year
2025
Publication date
2025
Publisher
MDPI AG
e-ISSN
19995903
Source type
Scholarly Journal
Language of publication
English
ProQuest document ID
3244035624
Copyright
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.