Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper Encapsulation Techniques?
Message
De
04/09/1998 09:43:13
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00131613
Message ID:
00133248
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform