Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Oriented Architecture Discussion
Message
From
12/07/2007 13:54:38
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
12/07/2007 13:18:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Class design
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01239519
Message ID:
01239809
Views:
8
>>>we deal with similar design here and the approach we use is to have multiple select statements in sprocs and readers to populate collections etc.
>>
>>Maybe I was fragmenting the flow too much.
>>
>>Sticking with my example, when would you load the different entities?
>>
>>Let's say we are going to bring up an alphabetical list of vendors, and we are going to click on the vendor and "zoom in" on their PO history. Are you going to load all vendors, their POs, and all line items once? Or are you going to load a list of vendors and later load a certain vendor's POs when they are zoomed in on?
>
>When it's not VFP I'd do an "on demand" logic:) .net is really slow otherwise even if you don't have very large data.
>Load vendors only and on click reuqested PO vice versa. Cache the ones you already looked for and do not query again (not a fast changing data right?).
>Cetin

Actually, the data I would be polling from is a daily snapshot of data, so I could probably get away with loading on data on application startup.
Very fitting: http://xkcd.com/386/
Previous
Reply
Map
View

Click here to load this message in the networking platform