• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: Refreshing clients

 
Flavio Nobili
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to all,
I'm working in the GUI now, and a question is holding me up.
If a client executes a query, and then another client updates a record that was present in the query's result of the first client. How should be the behavior of the application? Should I update all the client's results for every update made in the database?

Regards,
Fl�vio.
 
Stephen Galbraith
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(certainly on my assignment) I'm going to assume that this is beyond the scope.
In addition your server would need to know if the client was viewing that part of the database or not (i.e is searching part of it?).
The only thing I check (in my buisiness logic) is that the record details provided by the client match that in the database. If not then I don't allow the client to book that record.
Simple!
Steve.
 
Alan Morehead
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had the same question.
In other posts I have read that "The assignment doesn't require the client data to be in sync with the current database"
I don't have anything in my assignment guideline that says anything explicitly either way. I want to keep it as simple and clean as possible, but don't want to be docked points or fail for this reason. I realize that the client data will be stale if there are numerous clients booking and the search data has been sitting there for a while.
Any suggestions from those who have passed??
 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Beyond Scope.
M
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic