Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stateless Biz Objects Question
Message
From
05/01/2000 15:31:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Stateless Biz Objects Question
Miscellaneous
Thread ID:
00313483
Message ID:
00313483
Views:
82
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
Next
Reply
Map
View

Click here to load this message in the networking platform