Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3 tier and performance
Message
From
30/06/1999 13:33:45
 
 
To
30/06/1999 10:36:33
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00235905
Message ID:
00236015
Views:
24
>Dear All!
>
>I am on the start of the long way of 3 tier programming.
>I am currently rewrite one of my prev. app.
>If I understand the 3 tier prog. model. presentation tier can only communicate directly with business object and so, mustnot acces to database tier.
>But what if the presentation tier want to get a list of some records. (e.g. a form with a list of invoices). Should it ask the business object to pull the list into a cursor and give back the alias of the cursor? Im am afraid, that it slows down the app. And how to use a grid with its built-in sql capacity? Or is there a better algorythm?
>
>BB

Yup, the data should be requested from the business objects. If the UI requests the data directly, you have a 2-tier application.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform