NS Angga Posted July 9, 2013 Posted July 9, 2013 is possible to create tool UniGUI Converter (Convert VCL to UNIGUI Component) like mida converter (Convert VCL to FMX). so i can rebuild my application for unigui (web application) Thanks.
tappatappa Posted July 10, 2013 Posted July 10, 2013 I guess you could, but the result would probably be buggy as hell. As of today, UNIGui web components are quite different from standard VCL, visually and (sometimes) functionally.
orenavi Posted September 4, 2016 Posted September 4, 2016 Hi, You can use the Delphi Parser to convert the VCL objects to UniGUI. You can download a free evaluation edition of the Delphi Parser Migration Wizard & assess the wizard on your own code to test for free if it works for you, before you pay. https://delphiparser...migration-tool/ This Delphi Parser is a generic wizard, with a fully customized & expendable script. This edition is built for migrating BDE objects to FireDAC, but it good for all kinds of migration - depending on the script you load to the wizard All you need to do is replace the pre-built "BDE to FireDAC script" to a VCL to UniGUI script. There is also an open source edition of the Delphi Parser with a developer's full kit library for total control over the migration process. After you download the free evaluation wizard, please send me an email to oren@delphiparser.com & I will send you a sample of the "VCL to UniGUI" migration script. You won't believe your eyes how easy it can be, until you try it. https://delphiparser.com/ Best Regards, Oren
md9projetos Posted September 6, 2016 Posted September 6, 2016 Hi, There is a lot of things to take in consideration,Delphi parser is a translator not a refactor tool,Am I right? So,of course as close as both the base and the target architectures are closer,are better. I myself never liked things like DevExpress,too much magic,It will probably be a nightmare to migrate it to another thing than a new version DevExpress itself,It would take a lot of reengering. Using Frames instead of forms in uniGUI,puting the querys in the form instead of the Data module, probably have its own advantages,but certainly not helps the life of the parser . But if you come for something like JVCl OR Wool2wool and target to something like JAUD(my uniGUI example) the percentage of imported code will probably much bigger. When I´m going to migrate somebody elses system,I will probably use a mix of Delphi Parser,for the Data Acess components,and my proprietary tool for what takes reengenering. Marcello 1
orenavi Posted September 6, 2016 Posted September 6, 2016 Marcello, The Delphi Parser is more than a basic translator of one object to another. It can help you refactor your whole code base architecture - like from Client\Server to N-Tier. Few years ago, before the era of FireDAc we have managed to build a process that takes all the BDE objects with hard coded queries builr into the DFMs & Pascal code itself & rebuild them into Midas based data module, based on WebServices with Stored Procedures, TClientDataSet , TDataSetProvider & ADO Objects. Currently we are working closely with Embarcadero to provide a general solution to migrate all those Client-Server based legacy applications to support to work with DataSnap & RAD Server. 1
Recommended Posts