• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Question for anyone who implemented 48 hr rule

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,

I have implemented the 48 hour rule.

Now my question is should I have some way for user to disable it ?

The reason behind my thinking is that if I don't put some way of disabling it then the testers are gonna have an awful job trying to find a room they can actually book.

Either they will have to create some records with a suitable date themselves ( which they obviously won't be able to do using the UI) or to wait to test it till a day where one of the rooms becomes valid

But seriously anyone done this ?

I mean it doesn't make sense to have such an option on the UI really.

I could do any of the following :
* Not implement and document it as its not required
* Implement it and leave it at that (tester would have work to do)
* Implement it and have way to disable it on UI
* Give warning when you book something outside of 48 but allow it anyway.

Thoughts ?
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hum.... I think the guys from Sun will probably have their own version of database with lot's of good testing entries.

If you are taking the Url&Bird exam, you should design your application as if the database of available rooms is mantained by another system, for example, a mainframe.
 
Alan Morgan
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good point.

I think I'll implement the rule and let them worry about the testing.

Cheers
 
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Alan Morgan:
Good point.

I think I'll implement the rule and let them worry about the testing.

Cheers



That's what I did, no complaints
 
There's a city wid manhunt for this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic