On the automation of code generation for user interface models

  • Authors:
  • L. C. M. Nova;D. D. Cowan;A. v. Staa;C. J. P. Lucena

  • Affiliations:
  • Department of Computer Science, University of Waterloo, Waterloo Ont, N2L 3G1;Department of Computer Science, University of Waterloo, Waterloo Ont, N2L 3G1;Departamento de Informática, Pontifícia Universidade Católica, Rio de Janeiro, Brazil;Departamento de Informática, Pontifícia Universidade Católica, Rio de Janeiro, Brazil

  • Venue:
  • CASCON '94 Proceedings of the 1994 conference of the Centre for Advanced Studies on Collaborative research
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

User interfaces for highly interactive software systems are usually handcrafted in spite of the availability of tools for automatic code generation. Since user interfaces typically constitute 50 to 80% of an interactive system, such automation should provide significant increases in productivity and software quality. We outline in this paper a design approach to user interfaces that will support partially automatic code generation.The design approach is based on the Abstract Data View (ADV) which was originally conceived for the purpose of isolating the specification of the user interface from the application part of the software system. The ADV approach was intended to promote reusability of designs.User interface designs can be presented using ADVcharts, a graphical formalism for ADVs which is based on a state-machine description of the user interface.To produce the ADV implementation, the ADVchart is transformed into a code skeleton. This can be achieved by applying a linearizer to the ADVchart representations and then associating code fragments with the ADVchart components. The linearizer is capable of constructing a program consistent with its specification. This linearizing process is supported by Talisman, a software development meta-environment.