• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

About booking GUI

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,All
What I want to ask is: If we attemp to book a flight which already be locked by another client.
What the current client GUI should look like? Standby or still active for other operations such as search or book another flight.
Is it not allow for GUI to freeze while the lock is work on?
In my way , my GUI will available for operation while the lock was blocked which means my client get the record control. But I wonder its right.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well Jeff, that's an interesting question. And it is one without a real answer. It all depends on what experience the users want against what you think is the safest and bug proof way. Meaning if you allow the user to continue while it is waiting for the lock, is there any data corruption that could possibly happen, thread control, etc.
While the record is being locked you can have a screen pop up that says "Currently Processing your Request, Please Wait". This is always nice to the users and is "User Friendly", an hourglass can also work, but not as user friendly.
It is up to you to decide, and to put your decision in your design.txt and explain your position.
To be honest, I did nothing, the user just waits.
Mark
 
Jeff Song
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,Mark,
Thank you very much for your response. The question confused me for a bit long time. But I think I have found the answer now.
Thanks again!
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
So why did youre app do nothing when a booking was in progress? What reasons did you give (can I ask that?)?
Cheers
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, because it was in progress.
Mark
reply
    Bookmark Topic Watch Topic
  • New Topic