Izvorni znanstveni članak
Source Code Generator Based on Dynamic Frames
Danijel Radošević
orcid.org/0000-0001-6022-2973
; Faculty of Organization and Informatics, University of Zagreb, Varaždin, Croatia
Ivan Magdalenić
orcid.org/0000-0002-6634-571X
; Faculty of Organization and Informatics, University of Zagreb, Varaždin, Croatia
Sažetak
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.
Ključne riječi
dynamic frames; generative programming; specification; configuration; template
Hrčak ID:
69676
URI
Datum izdavanja:
27.6.2011.
Posjeta: 2.200 *