Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Current scctext text generator replacement
Message
From
16/10/2014 10:47:32
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
16/10/2014 10:15:42
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Source Safe Control
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01599986
Message ID:
01609536
Views:
50
>
due to clever vcx design. :)
>Please explain the above comment! :) Please!

Intellectual property.

Well, I never ever use SCX's. It's all on classes, mostly non of the automatic loading and instantiating features.

Class and ClassLib to instantiate an object needs a detour..

I use a ClassFactory, what is a basically a table (or a group of) that is a key vs class classlib module (the parmaters of [THIS.]NewObject). If I like to instantiate an object, I ask those factory with a key and get an object back, it can addobject as well as newobject..

So DE / CA / form, sometimes large containers are separated classes that I can freely move and - I can free rename.

So If I need to play with Class A of lib B what is locked by somebody, I just make a copy of A into lib LocalClass, rename that copy to A_ set this into a debug table of the Classfactory (what overrules production - but only on my comp, and only on debugtime) and modify it. Next run (no need for compile since debug table and lib will not be included anyway) will be on the new class.

Sounds tricky? It's just openenig class A, select a menu item to open the ClassFactory on the right record, and press the copy button. It will close original class, copy class and create the debug record, open debug on its own.

The way back is manual work (could be automatic, but I like it that way.)

It is even that clever that it could can recieve the parameters of newobject() (retargeted by #define) and run those parameters against the Classfactory. It can create keys out of it. Usefull if you need to patch a class - just put an app that holds a vcx, put the Patchtable in action and the class will be instantiated out of the patch.
I can patch all that is not someclasses parent and a class. :)

The other thing is the work was ordered so that one developer simply does not need the other ones classlibs. O.k. sometimes it needs a lash to enforce interfaces, but we lost not to many lives.

But this was all done at atime NEWLINE was new. VFP 7? 8? Can't remember

I think that I will concentrate on Antionios prog, but add a post or preprocessor, whatever seems to be easier, to split a vcx into separate files per class and deal with them via a SVC, namely git. A processor for the other way around Antonioas prg and thats it.

HTH
Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform