Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
General question on CA in a framework
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
General question on CA in a framework
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01472139
Message ID:
01472139
Views:
101
I have a general question on using CA (CursorAdapter) in a framework. I would like to know if anybody sees potential “issues” with the following approach.

In my 3-layer “framework” of VFP app with SQL Server backend, I have three typical layers, UI, BIZ, DAL. UI instantiates BIZ, BIZ instantiates DAL. Each table used by a form has a corresponding BIZ object. My approach is to have DAL instantiate (in its INIT method) a CA object and reference it to a DAL class property. Then, all data retrieval and updates would be done via this CA instantiated and references in DAL class.

Let me know if you think there is a potential for a problem with this approach. TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform