GAwCRe: um gerador de aplicações baseadas na web para o domínio de clínicas de reabilitação.
Abstract
Pattern languages define a domain, easing application modeling by less experienced
developers. With the use of a pattern language a generic architecture (frameworks or
application generators) can be defined, capable of automating part of the new applications
development process. That architecture can be represented by an Application Modeling
Language (AML), using the concepts of software products line, which allow an application
definition from high level specification. In that context, this work presents a Web based
application generator for the Rehabilitation Clinic Management Systems domain (SiGCli;
Sistemas de Gestão de Clínicas de Reabilitação, in portuguese), named GAwCRe (Web
Application Generator for Rehabilitation Clinics; Gerador de Aplicações baseada Web para
Clinícas de Reabilitação, in portuguese). Its instantiation for these applications is done using
an AML that has been defined based on the SiGCli pattern language. A meta-model using the
XML language has been made to represent AML and SiGCli information. Thus, the AML
information presented in the applications generator instantiation interface is dynamically
created. For the artifacts generation process, code templates are defined with substitution
points previously established that have to assume the values defined in the XML document,
according to the application AML specification. The XML document eases the AMl and
SigCli documentation readability. With XML use, the GAwCRe applications generator has
enough flexibility to support other pattern languages mapped to the XML structure defined,
consequently allowing its reuse.