Jump to content
Marcio

Migration DbExpress to Firedac , better way ?

Recommended Posts

I have an application that uses DBExpress, Query, Provider and ClientDataset.

I will migrate to Firedac, currently all query and provider are in the DataModule and in form only the ClientDataSet and DataSet.

What is the best scenario, advantages and disadvantages :


1 - Leave the Query in the DataModule and in the Form only the DataSet.
2 - Place Query on Form and use DataModule only for Global Objects.

 

Has anyone used the refind for conversion?

 

Thanks

Share this post


Link to post

I've used refind to mostly convert an application from BDE to FireDAC.  We still also have some modules using DBExpress which remains to be done.  I was planning on adapting some of the BDE scripts for this purpose.  I have been toying with writing a blog post or something to document some of the lessons learnt.  If I find some time I'll have a little look at our DBX modules and whether I can get something going quickly and post so advice for you here.    One thing I would say is that I would not advise you to change the structure/architecture of your application when you do this translation.  Purely stick the changing the classes over and making any adjustments necessary as a consequence.  You can always change/refactor the structure later if you want to.  

Edited by ByteJuggler

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×