Click here to Skip to main content
15,897,704 members
Home / Discussions / C#
   

C#

 
Generalnet use in dos mode Pin
Rob Tomson10-Mar-04 14:16
Rob Tomson10-Mar-04 14:16 
GeneralRe: net use in dos mode Pin
Heath Stewart11-Mar-04 3:05
protectorHeath Stewart11-Mar-04 3:05 
Generalcls in console app Pin
Rob Tomson10-Mar-04 14:13
Rob Tomson10-Mar-04 14:13 
GeneralRe: cls in console app Pin
Heath Stewart11-Mar-04 3:08
protectorHeath Stewart11-Mar-04 3:08 
GeneralWindows Media Player 9.0 and C# question Pin
Gambit00710-Mar-04 11:51
Gambit00710-Mar-04 11:51 
GeneralRe: Windows Media Player 9.0 and C# question Pin
Heath Stewart10-Mar-04 12:03
protectorHeath Stewart10-Mar-04 12:03 
GeneralRe: Windows Media Player 9.0 and C# question Pin
Gambit00710-Mar-04 17:11
Gambit00710-Mar-04 17:11 
GeneralSmart clients - the best way to implement this Pin
Judah Gabriel Himango10-Mar-04 11:19
sponsorJudah Gabriel Himango10-Mar-04 11:19 
I have a client and a server program and each has a database on the respective machines. The goal is to have the databases synchronized across the server and all clients in real time, all while having the possibility of the clients working offline from the server.

The way I'm going about it now is I create the app-specific objects from the data in the database on the server (the server will have the actual objects). All clients connect to the server and get proxies to those objects via remoting. When the client modifies a proxy object, the actual object on the server automatically gets updated (duh), and all connected clients recieve an event saying the object was modified, updating all the client GUIs and the client-side databases.

The only catch I see is when the client/server connection goes offline, the client must replace his proxy objects with actual objects read in from his local database. If that's the only catch, I'm willing to live with it.

My question is, is the above way ok to do real-time data synchronization? Would it be better to just pass around messages back and forth? The downside I see to passing around messages is the fact that I'll have to write a lot of code for the server to let all the clients know when an object has been updated. If any of you guys have any thoughts about this or have been down this road before, I'd love to hear it.

Thanks.


---------------------------
He who knows that enough is enough will always have enough.

-Lao Tsu

GeneralRe: Smart clients - the best way to implement this Pin
Heath Stewart10-Mar-04 11:25
protectorHeath Stewart10-Mar-04 11:25 
GeneralRe: Smart clients - the best way to implement this Pin
Judah Gabriel Himango10-Mar-04 13:55
sponsorJudah Gabriel Himango10-Mar-04 13:55 
GeneralRe: Smart clients - the best way to implement this Pin
Heath Stewart11-Mar-04 2:38
protectorHeath Stewart11-Mar-04 2:38 
GeneralRe: Smart clients - the best way to implement this Pin
Heath Stewart11-Mar-04 4:39
protectorHeath Stewart11-Mar-04 4:39 
GeneralAs stewy says "Victory is Mine" Pin
Matthew Hazlett10-Mar-04 10:31
Matthew Hazlett10-Mar-04 10:31 
GeneralRe: As stewy says "Victory is Mine" Pin
John Fisher10-Mar-04 11:00
John Fisher10-Mar-04 11:00 
GeneralRe: As stewy says "Victory is Mine" Pin
Wraith211-Mar-04 0:48
Wraith211-Mar-04 0:48 
GeneralRe: As stewy says "Victory is Mine" Pin
Matthew Hazlett11-Mar-04 5:15
Matthew Hazlett11-Mar-04 5:15 
GeneralRe: As stewy says "Victory is Mine" Pin
Wraith211-Mar-04 15:50
Wraith211-Mar-04 15:50 
GeneralRe: As stewy says "Victory is Mine" Pin
Matthew Hazlett11-Mar-04 16:42
Matthew Hazlett11-Mar-04 16:42 
GeneralMeasure Character Pin
Werdna10-Mar-04 8:22
Werdna10-Mar-04 8:22 
GeneralRe: Measure Character Pin
Judah Gabriel Himango10-Mar-04 11:22
sponsorJudah Gabriel Himango10-Mar-04 11:22 
GeneralRe: Measure Character Pin
Werdna10-Mar-04 11:51
Werdna10-Mar-04 11:51 
GeneralRe: Measure Character Pin
Heath Stewart10-Mar-04 11:27
protectorHeath Stewart10-Mar-04 11:27 
GeneralAmbientUserMode Pin
Andy H10-Mar-04 8:13
Andy H10-Mar-04 8:13 
GeneralRe: AmbientUserMode Pin
Heath Stewart10-Mar-04 10:05
protectorHeath Stewart10-Mar-04 10:05 
GeneralRe: AmbientUserMode Pin
Heath Stewart10-Mar-04 11:53
protectorHeath Stewart10-Mar-04 11:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.