Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Updating clients when record has been modified?

 
Stef Widmer
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
When several clients have connected to the server and loaded records to display these in the GUI and one client books (modifies) a record, should I notify the other clients about the change and trigger an update of there GUI? Or ist is OK to leave the records and only notify the user when he tries to book the same record?
What do you think?
I've to say that I'm using the "serialized" approach of networking.

Thanks for your input.

Cheers Stef
[ June 17, 2004: Message edited by: Stef Widmer ]
 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Widmer :
I prefere the second approach, notifying clients when they try to update/ book a record. I followed this approch in my project too.
The first approch doesn't make sense to me, and it is problematic. Imagine a group of clients just viewing the data, and another group updateing the data. The first group of client don't need to be notified of changes, otherwise they will be hammared with notifications.
 
Stef Widmer
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hanna
Thanks for your hint. Deeply I thought so as well, but I was not sure.

Cheers
Stef
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic