[Logo]
Forums Register Login
Need clarification on URLyBird 1.3.1 requirement
I reread the assignment html many times and I want to make sure I got it right, all the client have to do is :

1) search the db and get records that match hotel name or location field?
2) Book the hotel (I guess this implies deleting the record from database)

Is that it? There were no requirement to add entries or anything else, right?
anyone? does it mean that the database entry will never beed added using URLybird client?
Book room means updating the record with the customer ID.
No other updates is required from the client GUI. Nor will records be created or deleted from the client GUI.
does the client show booked records?
There is nothing in the requirements about what to show/filter. So I think it is up to you. I showed everything.
I have a requirement that states that bookings are only taken within 48 hours of the start of room occupancy. This implies to me that only rooms that meet this criteria should be displayed, i.e filtering on date.

Otherwise you would end up with a list containing past and future rooms.

I think filtering on booked rooms also makes sense, as there are no requirements to view details of booked rooms.

Jason.
should we put a filter check box to filter out booked hotel ? Or just put it in choice.txt
I haven't started the GUI section, so I'm not sure what other people have done. But to me it makes sense to filter the booked rooms, so I think I will include my desision in the choice.txt.

From the requirements the system is used to booked rooms, it also implies that another application is used for reporting, so in my view it is more user friendly to provide only available rooms.

Jason
my data file only shows old dates.

so all the rooms are well past 48 hours.

is this normal?

--

also, I a put a 'delete record' button on the GUI to test out the deleteRecord implementation.
The data file will probably not contain any dates you can use to test effectively. You can write another small program that uses your Data class to change the dates on some of the records to better dates to test with.
Adding GUI items to test your Data class will be tedious. I used JUnit to test out my Data class entirely before moving on to the GUI.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Dec 15, 2017 14:58:14.