OSTRICH - A Type-Safe Template Language for Low-Code Development
Authors:
- 1 October 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 216-226
Abstract
Low-code platforms aim at allowing non-experts to develop complex systems and knowledgeable developers to improve their productivity in orders of magnitude. The greater gain comes from (re)using components developed by experts capturing common patterns across all layers of the application, from the user interface to the data layer and integration with external systems. Often, cloning sample code fragments is the only alternative in such scenarios, requiring extensive adaptation to reach the intended use. Such customization activities require deep knowledge outside of the comfort zone of low-code. To effectively speed up the reuse, composition, and adaptation of pre-defined components, low-code platforms need to provide safe and easy-to-use language mechanisms. This paper introduces OSTRICH, a strongly-typed rich templating language for a low-code platform (OutSystems) that builds on metamodel annotations and allows the correct instantiation of templates. We conservatively extend the existing metamodel and ensure that the resulting code is always well-formed. The results we present include a novel type safety verification of template definitions, and template arguments, providing model consistency across application layers. We implemented this template language in a prototype of the OutSystems platform and ported nine of the top ten most used sample code fragments, thus improving the reuse of professionally designed components.Keywords
Funding Information
- FCT/MCTES (UIDB/04516/2020,PTDC/CCI-INF/32081/2017)
This publication has 17 references indexed in Scilit:
- Aspectual templates in UMLSoftware and Systems Modeling, 2015
- The Design and Implementation of BER MetaOCaml2014
- From types to type requirements: genericity for model-driven engineeringSoftware and Systems Modeling, 2011
- Constraining Type Parameters of UML 2 Templates with Substitutable Classifiers2009
- USE: A UML-based specification environment for validating UML and OCLScience of Computer Programming, 2007
- Quality, productivity and economic benefits of software reuse: a review of industrial studiesEmpirical Software Engineering, 2007
- Software productivity measurement using multiple size measuresIEEE Transactions on Software Engineering, 2004
- An OCL Formulation of UML2 Template Binding2004
- A modal analysis of staged computationJournal of the ACM, 2001
- On understanding types, data abstraction, and polymorphismACM Computing Surveys, 1985