ACTIVE INCREMENTAL CODE GENERATOR FOR GRAPHQL SERVER APPLICATION
DOI:
https://doi.org/10.24867/07BE39BlagojevicKeywords:
Code generator, GraphQL, SDL, templateAbstract
This paper presents the code generator for the web server that satisfies GraphQL API specification. The model is provided using GraphQL SDL schema. Code generation is performed using template engines. Generator also supports modifying application default behaviour by integrating generated code with manually written one. It also supports incremental updates for db schema.
References
[1] „GraphQL specification“,
https://graphql.github.io/graphql-spec/June2018, pristupljeno: 11. jul 2019.
[2] „The GraphQL Data Language“, https://thenewstack.io/graphql-data-query-language-resource-guide, pristupljeno: 11. jul 2019.
[3] Dag Sjoberg, Lilybank Gardens, „Quantifying Schema Evolution“, Information and Software Technology, Vol. 35, No. 1, pp. 35-44, januar 1993.
[4] Carlo A. Curino, Hyun J. Moon, Letizia Tanca, Carlo Zaniolo, „Schema evolution in Wikipedia toward a Web Information System Benchmark“, ICEIS 2008 - Proceedings of the Tenth International Conference on Enterprise Information Systems, Volume DISI, 12-16 jun 2008.
[5] P. Desfray, J. Filipe, S. Hammoudi, L. Pires, „Integration of Handwritten and Generated Object-Oriented Code“, Model-Driven Engineering and Software Development, Communications in Computer and Information Science, vol 580. Springer, Cham, 2015.
[6] „Jinja2“, https://jinja.palletsprojects.com/en/2.10.x/, pristupljeno: 17. avgust 2019.
[7] „Play framework“, https://www.playframework.com, pristupljeno: 17. avgust 2019.
[8] „Sangria“, https://sangria-graphql.org, pristupljeno: 17. avgust 2019.
[9] „Slick“, http://slick.lightbend.com/, pristupljeno: 17. avgust 2019.
[10] „pgdiff“, http://pgdiff.sourceforge.net/, pristupljeno: 17. avgust 2019.
[11] „Docker“, https://www.docker.com, pristupljeno: 17. avgust 2019.
https://graphql.github.io/graphql-spec/June2018, pristupljeno: 11. jul 2019.
[2] „The GraphQL Data Language“, https://thenewstack.io/graphql-data-query-language-resource-guide, pristupljeno: 11. jul 2019.
[3] Dag Sjoberg, Lilybank Gardens, „Quantifying Schema Evolution“, Information and Software Technology, Vol. 35, No. 1, pp. 35-44, januar 1993.
[4] Carlo A. Curino, Hyun J. Moon, Letizia Tanca, Carlo Zaniolo, „Schema evolution in Wikipedia toward a Web Information System Benchmark“, ICEIS 2008 - Proceedings of the Tenth International Conference on Enterprise Information Systems, Volume DISI, 12-16 jun 2008.
[5] P. Desfray, J. Filipe, S. Hammoudi, L. Pires, „Integration of Handwritten and Generated Object-Oriented Code“, Model-Driven Engineering and Software Development, Communications in Computer and Information Science, vol 580. Springer, Cham, 2015.
[6] „Jinja2“, https://jinja.palletsprojects.com/en/2.10.x/, pristupljeno: 17. avgust 2019.
[7] „Play framework“, https://www.playframework.com, pristupljeno: 17. avgust 2019.
[8] „Sangria“, https://sangria-graphql.org, pristupljeno: 17. avgust 2019.
[9] „Slick“, http://slick.lightbend.com/, pristupljeno: 17. avgust 2019.
[10] „pgdiff“, http://pgdiff.sourceforge.net/, pristupljeno: 17. avgust 2019.
[11] „Docker“, https://www.docker.com, pristupljeno: 17. avgust 2019.
Downloads
Published
2020-03-03
Issue
Section
Electrotechnical and Computer Engineering