Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper Encapsulation Techniques?
Message
From
04/09/1998 09:43:13
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00131613
Message ID:
00133248
Views:
17
>Since the bizobj is inherently married to the data structures there is no way to use a bizobj that does require moidification whne the data structure changes.

Would it be possible to have some sort of hash or associative array, so that you could have a BizObj.Setfield("whatever_field", val). Then the UpdateTable() read the bizObj's ControlSource (or similar..) and replace all fields that are in the table AND in the hash of changed fields? This could make at least the field storage generic, rather than having class properties.

Just an idea.


>What is so difficult about having a bizobj.GoNext method that handles the call

I think teh whole 3-tier thing is fascinating. Such wonderful ideas emerge. How would you use a bizObj for something like a grid where multiple rows can change?

where can I read more about the concrete (real) implementations of bizObjs ? I like the idea, though I probably can't implement it on my current project.. I am interested in how people have done it.

TIm
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform