Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3 tier and performance
Message
De
01/07/1999 08:37:19
 
 
À
01/07/1999 03:02:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00235905
Message ID:
00236394
Vues:
15
There is allways some compromise to do. 3-tier architecture is more flexible that a monolitic app, but it's generally slower.

To get a list of records, you can:
- Have a method in the business layer that pull out all the records needed and have methods to get each receords separately (GetNext(), GetPrevious(), etc.) So you can build a cursor in your presentation layer and fill it out with successive calls to the GetNext() method
- Use ADO to pass recordset between the layers

>I donnot really want to bypass the business layer. I am only curious how to pull data through this layer in the most effective way (i.e. speed)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform