Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursors & 3-Tier Design
Message
De
03/05/2005 18:27:30
Randy Witt
Diamond Vogel Paints
Orange City, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Cursors & 3-Tier Design
Divers
Thread ID:
01010635
Message ID:
01010635
Vues:
72
I am attempting to design a 3-Tier design (first time for me) & I am coming up with lots of questions, especially as relates to the data access (using parameterized views & cursors):

1. Are the source table & the view/cursor generated from it, BOTH part of the data layer, or is the cursor part of the interface or business layer?

2. Are the form's grid & controls to be controlsourced to the cursor, or linked somehow via a "data object", or what?

3. Can the interface directly address the data layer (such as, for lookup data in other tables, or other non-edit uses of data), or does it always have to access it via a business object layer?

4. Can interface controls store "oldvalue" values to compare to user input, to detect if values have changed, or should this always be deferred to either the business or data layer (via "GetFldState" or such?)

Thanks,
Randy W.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform