Skip to the main content

Original scientific paper

Source Code Generator Based on Dynamic Frames

Danijel Radošević orcid id orcid.org/0000-0001-6022-2973 ; Faculty of Organization and Informatics, University of Zagreb, Varaždin, Croatia
Ivan Magdalenić orcid id orcid.org/0000-0002-6634-571X ; Faculty of Organization and Informatics, University of Zagreb, Varaždin, Croatia


Full text: english pdf 298 Kb

page 73-91

downloads: 1.544

cite


Abstract

This paper presents the model of source code generator based on dynamic frames. The model
is named as the SCT model because if its three basic components: Specification (S), which
describes the application characteristics, Configuration (C), which describes the rules for
building applications, and Templates (T), which refer to application building blocks. The
process of code generation dynamically creates XML frames containing all building elements
(S, C ant T) until final code is produced. This approach is compared to existing XVCL frames
based model for source code generating. The SCT model is described by both XML syntax
and the appropriate graphical elements. The SCT model is aimed to build complete
applications, not just skeletons. The main advantages of the presented model are its textual
and graphic description, a fully configurable generator, and the reduced overhead of the
generated source code. The presented SCT model is shown on development of web
application example in order to demonstrate its features and justify our design choices.

Keywords

dynamic frames; generative programming; specification; configuration; template

Hrčak ID:

69676

URI

https://hrcak.srce.hr/69676

Publication date:

27.6.2011.

Visits: 2.200 *