Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
General question on CA in a framework
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
General question on CA in a framework
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01472139
Message ID:
01472139
Vues:
102
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform