Towards a UML and IFML Mapping to GraphQL
Abstract
Web APIs have become first-class citizens on the Web, in particular, to provide a more unified access to heterogeneous data sources that organizations want to make publicly available. While REST APIs have become the norm to structure web APIs, they can be regarded as a server-side solution, offering default limited query capabilities and therefore forcing developers to implement ad-hoc solutions for clients requiring to perform complex queries on the data. Lately, GraphQL has gained popularity as a way to simplify this work. GraphQL is a query language for Web APIs specially designed to build client applications by providing an intuitive and flexible syntax for describing their data schema, requirements and interactions. In this paper we propose an approach for the generation of GraphQL schemas from UML class diagrams and IFML interaction models, two well-known standard modeling languages in the web engineering field, to facilitate the creation of web applications relying on this new GraphQL paradigm following a model-based approach. While UML is used to generate the GraphQL schema, IFML is used to derive the set of queries and modifications to be performed on that schema.
BibTeX
@inproceedings{rodriguezecheverria2017towards,
author = {Roberto Rodríguez-Echeverría and Javier Luis Cánovas Izquierdo and Jordi Cabot},
title = {{Towards a UML and IFML Mapping to GraphQL}},
booktitle = {ICWE Workshops},
year = {2017},
doi = {10.1007/978-3-319-74433-9\_13},
}Ask Althea to put this paper to the test.
Loading related content...