Model-Driven web form validation with UML and OCL

  • Authors:
  • Eban Escott;Paul Strooper;Paul King;Ian J. Hayes

  • Affiliations:
  • School of Information Technology and Electrical Engineering, The University of Queensland, Brisbane, QLD, Australia;School of Information Technology and Electrical Engineering, The University of Queensland, Brisbane, QLD, Australia;ASERT, Brisbane, QLD, Australia;School of Information Technology and Electrical Engineering, The University of Queensland, Brisbane, QLD, Australia

  • Venue:
  • ICWE'11 Proceedings of the 11th international conference on Current Trends in Web Engineering
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Form validation is an integral part of a web application. Web developers must ensure that data input by the user is validated for correctness. Given the importance of form validation it must be considered as part of a model-driven solution to web development. Existing model-driven approaches typically have not addressed form validation as part of the model. In this paper, we present an approach that allows validation constraints to be captured within a model using UML and OCL. Our approach covers three common types of validation: single element, multiple element, and entity association. We provide an example to illustrate an architecture-centric approach.