Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and SQL at the same time
Message
De
14/01/2019 14:10:49
 
 
À
14/01/2019 13:44:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01664796
Message ID:
01665395
Vues:
73
>>>Just want to point out that my code for splitting a procedure file into individual PRGs is now in the Thor Repository. My article about it, including the reasons I don't like procedure files, is here: http://www.tomorrowssolutionsllc.com/Articles/Splitting%20a%20Procedure%20File.PDF
>>
>>Having a common utils.prg allows encapsulation, a single place to search for the function you need.
>>
>>When trying to find your missing function use Tools -> Code References and search for "FUNCTION myFuncName" and you'll find it quickly ... if you truly don't know where it is.
>
>And you can use Code References or GoFish to find it in a PRG, too. Or, since the PRG name is the function name if you use my tool, you can use Finder to find it.

It's a philosophy. I believe in encapsulation. Most of the utility functions we've created over the years are black boxes. We rarely have to go and update them any more, just periodically, so it's not so difficult to find them.

What is your position on using stored procedures? They are encapsulated in a single location.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform