Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Object
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00511773
Message ID:
00512163
Views:
11
>>Alex,
>>
>>>Hmmmmm.... Mere Mortals does it through cursors.
>>
>>Not for COM operation in a physically-distributed n-Tier design.
>
> Sure, but I'd venture a guess that most VFP "n-Tier" apps are logical n-Tier, not physical. It's not clear from the original question which he was asking about. In Mere Mortals, it doesn't matter. The middle tier business object deals with native VFP cursors. It handles the translation to ADO or XML for you, if necessary.
>
> If this is just a logical n-Tier, I'd create a third object that managed the other two, then you can wrap both objects into a transaction. One of the major limitations of VFP when doing something like this is that you can't requery inside of a transaction. It makes writing "black box" code that can be wrapped inside of a transaction nearly impossible. I've run into this more than once while trying to create an object to facilitate collaboration between objects. Too bad.

The next version of MM will be using XML as the data transport mechanism. The architecture will utilize the windows DNA model, much like COM codebook, but with much more flexibility!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform