Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Good OO Methodology Or Too Much Trouble?
Message
From
29/09/1997 15:23:06
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00051785
Message ID:
00052244
Views:
29
>To reiterate briefly: 1. Do you feel that subclassing the vfp >dataenvironment is more headache than it is worth? 2. Is the self-contained >business object a good thing or should you be able to manipulate data >directly? > >Any comments are appreciated. As to 1. you can get back to visual anytime. Instantiate your programmatically redesigned DE, say Set Classlib to RedefDE.prg MyDE_po=CreateObject("mydataenv") MyDE_po.SaveAsClass("MyDataEnvironment","MyClassLib") You can use myclasslib.vcx to pull your dataenv object to your form, so it's back to visual quite soon. As for 2. maybe you should have your business object AddObjected somewhere upstream, maybe in your application object, and simply call it whenever it's needed. If it has to be instantiated on forms here and there... well, it may be tricky, but sounds feasible. No, I haven't tried any of that. Just thinking loud.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform