Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote View or SQL Passthrough?
Message
De
02/12/2010 14:30:50
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
01/12/2010 22:12:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01491428
Message ID:
01491617
Vues:
52
>>If you use SPT with stored procedures, those stored procedures will be useful should you ever switch to another front end, whereas RV's and CA's will not be.

That's true, but there's a flip-side: using SP locks you in to that backend. In my case I had customers using SQL Server, Oracle and Cache as a database, followed by MySQL. Recreating RVs programmatically against each backend (and later using xCase) was all we ever had to do. Writing SP for each backend would have been quite a hurdle, especially since MySQL didn't have SP at the start. When I last looked, SSCE didn't have SP either. Might have now.

In practice we found ourselves using SPT, RVs, SPs and Oracle Views (which are a very interesting beast indeed). We never found a reason to cleave to just one. Over the years I have noticed that many gurus weren't impressed by RVs, preferring to use the techniques commonly seen in other tools. Doesn't matter any more since the market is always right, but that's something I never understood.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform