Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and SQL Server in One app
Message
De
08/02/2017 13:01:30
 
 
À
08/02/2017 11:16:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01647697
Message ID:
01647707
Vues:
93
>My company has a legacy system running pure VFP8.
>One of our client wants to move to sql server as a back end.
>We thought about rewriting the app using c#.
>But have decided to use the same VFP code and simply adding SQL server capability...... with same table structures.
>
>So, the app can run in full VFP mode. or full SQL SERVER mode.
>
>Can anyone make an argument AGAINST doing such thing?
>
>Thanks in advance..

For many years I worked with VFP based software produced by a major manufacturer (nameless here but with some imagination you can figure the name)
Faced with the same choice, they chose your option - one code base for two back ends.
The result was a disaster.
Maintenance classes - CRUD - were OK - they used classes as Tore suggested - but the reporting procedures were nightmares. Since the queries had to conform to two backends, neither was well supported. In many cases they wound up writing two versions.
We supported the code and it was painful just to look at it.
Several people involved told me that in retrospect, they should have produced a VFP/SQL Server only product to run side by side with the .dbf product.

This might not be relevant in your situation, but it's something to consider.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform