Content area

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

1009240
Business indexing term
Company / organization
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 
Publication title
Volume
17
Issue
8
First page
346
Number of pages
37
Publication year
2025
Publication date
2025
Publisher
MDPI AG
Place of publication
Basel
Country of publication
Switzerland
Publication subject
e-ISSN
19995903
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2025-07-31
Milestone dates
2025-06-13 (Received); 2025-07-21 (Accepted)
Publication history
 
 
   First posting date
31 Jul 2025
ProQuest document ID
3244035624
Document URL
https://www.proquest.com/scholarly-journals/restrho-json-based-domain-specific-language/docview/3244035624/se-2?accountid=208611
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.
Last updated
2025-08-27
Database
2 databases
  • ProQuest One Academic
  • ProQuest One Academic