Transformação de dataflex procedural para visual dataflex orientado a objetos reusando um framework.
Nogueira, Adail Roberto
MetadataMostrar registro completo
This work presents a strategy for transformation of legacies systems write in Procedural DataFlex (DFP), for systems in Objects Oriented Visual DataFlex (VDFOO) reusing a Framework, denominated DataFlex Application Framework (DAF), with architecture in three layers: interface, business rules and database. The transformation is accomplished in three steps: To "Organize Legacy Code", when it happens the organization of the legacy code in DFP; "Reemployments Organized Code" DFP, when the reemployment of the Organized Code DFP for VDFOO; and to Execute the VDFOO Code , when the code is executed in VDFOO with the same functionalities of the legacy code in DFP. The technologies used for the elaboration of this work are presented, involving Techniques for Reengineer, Transformations Systems, Languages Procedural DataFlex (DFP) and Objects Oriented Visual DataFlex (VDFOO) and DataFlex Application Framework (DAF). The Draco-PUC Transformation System is the main mechanism for automation of the transformations. To aid in the definition of the domains in Draco-PUC an editor of denominated domains it was built Draco Domain Editor (DDE), besides the parser and prettyprinter DFP and VDFOO. To automate the step "Organize Legacy Code", the Transformer of DFP was built for Organized DFP, and for the step "Reemployments Organized Code" DFP, the Transformer of Organized DFP was built for VDFOO. DDE is also used to define the script of execution of the transformers. The Transformation of DFP for VDFOO reuse a Framework in three layers: interface, business rules and database. The transformations of two systems are presented: Control of Orders, with about 20 thousand lines of legacy code; and the Integrated System for stores of sale s of cars (SIRC-X), with 5.3 million code lines.