Source Code Generator Based on Dynamic Frames Cover Image

Source Code Generator Based on Dynamic Frames
Source Code Generator Based on Dynamic Frames

Author(s): Danijel Radošević, Ivan Magdalenić
Subject(s): ICT Information and Communications Technologies
Published by: Fakultet organizacije i informatike, Sveučilište u Zagrebu
Keywords: dynamic frames; generative programming; specification; configuration; template;

Summary/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.

  • Issue Year: 35/2011
  • Issue No: 1
  • Page Range: 73-91
  • Page Count: 19
  • Language: English