Date of Award
Fall 2012
Degree Type
Thesis
Degree Name
Master of Science (MSc)
Department
Computing and Software
Supervisor
Jacques Carette
Language
English
Abstract
Given the nature of client-server applications, most use some freeform interface, like web forms, to collect user input. The main difficulty with this approach is that all parameters obtained in this fashion need to be validated and normalized to protect the application from invalid entries. This is the problem addressed here: how to take client input and preprocess it before passing the data to a back-end, which concentrates on business logic. The method of implementation is a rule engine that uses Groovy internal domain-specific language (DSL) for specifying input requirements. We will justify why the DSL is a good fit for a validation rule engine, describe existing techniques used in this area and comprehensively address the related issues of accidental complexity, security, and user experience.
Recommended Citation
Fedorenko, Vitalii M., "Validation DSL for client-server applications" (2012). Open Access Dissertations and Theses. Paper 7223.
http://digitalcommons.mcmaster.ca/opendissertations/7223
McMaster University Library
