Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stateless Biz Objects Question
Message
De
05/01/2000 15:31:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Stateless Biz Objects Question
Divers
Thread ID:
00313483
Message ID:
00313483
Vues:
80
I'm looking into revamping my biz classes to accomodate statelessness and I have the following question.

I currently use a group of publically exposed properties (e.g. lAllowInsert, lAllowDelete, lAllowUpdate, lAllowNavigate, lRecordBOF, lRecordEOF, etc.) which are queried internally and externally as needed. Now, these properties have _access methods where rule code is written and, therefore, reevaluated whenever queried.

Therefore, as long as the state of cursor(s) can be reestablished, the behavior of these properties should be consistent with statefull objects and no rework required. Yes / No / I Don't Know ?

The other, and perhaps more important, question is how the hell to reestablish the entire state of a cursor? Sure, you can reestablish record pointers, but what about information concerning table buffered records - OLDVAL(), CURVAL(), EVALUATE()? Should all this stuff fly out the window? Should the client retain this information via some kind of state object or array?

I'm kinda lost here and I have yet to find any detailed white papers concerning this subject.
- Jeff
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform