Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and SQL at the same time
Message
From
14/01/2019 18:15:42
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
14/01/2019 14:10:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01664796
Message ID:
01665405
Views:
72
>>>>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.

Again. Encapsulation is a feature of the design of objects, not an aspect of how the source code is stored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform