Re: Design issue: Preload data or get on request
From: in (gunther_at_treeview.control)
Date: 03/04/05
- Next message: in: "Re: Why no serious MS Application in .NET yet ??"
- Previous message: in: "Re: Programming CRM in an windows xp computer"
- In reply to: Frustrated Newbe: "Design issue: Preload data or get on request"
- Next in thread: Nick Malik [Microsoft]: "Re: Design issue: Preload data or get on request"
- Reply: Nick Malik [Microsoft]: "Re: Design issue: Preload data or get on request"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 03 Mar 2005 17:16:07 -0800
Frustrated Newbe wrote:
> Hi,
>
> I would appreciate your opinion on the following issue. Suppose there is a
> windows (not web!) application that uses the data stored on an SQL server.
> There can be more than one concurrent user of the app, so the concurrent
> database update is an issue. There are also plenty of forms that when
> displayed have some or all controls pre-filled with data, which is stored in
> a number of different tables in the database. Question: what approach is
> better in this case - preload the data and store it in a dataset and only
> actually connect to the DB at the initial load and when insert/update is
> required or load the data for each user request and not maintain any cache.
> The number of records in question will be in hundreds rather than thousands
> and the app is designed to run on WinXP.
>
I'm working on the same problem right now.
The design I'm choosing is:
1. Use a web service to send the client an XmlDocument at first load.
2. Set up WSE 2.0 to send notifications of changes to the document to
the server and all the clients using messaging.
3. Occasionally refresh the database with the most current changes to
the XML document at the web service server.
- Next message: in: "Re: Why no serious MS Application in .NET yet ??"
- Previous message: in: "Re: Programming CRM in an windows xp computer"
- In reply to: Frustrated Newbe: "Design issue: Preload data or get on request"
- Next in thread: Nick Malik [Microsoft]: "Re: Design issue: Preload data or get on request"
- Reply: Nick Malik [Microsoft]: "Re: Design issue: Preload data or get on request"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|