I've some basic doubts regarding URLyBird assignment.
1. Can a CSR add a "new" record into the DB? OR he can just BOOK\DELETE a record from db file?
The URLyBird instructions does not talk about this, but i feel its logical and much needed functionality. I've received a DB file which has about 30 records. If we don't implement the addNewRecord then we'll always be playing with those 30 records only. (Yes, I know I can create my own db file for
testing)
2. Can a CSR add new name of the hotel?
Do we have to implement a functionality where a CRS can add/remove/modify different Hotels/Locations/Rate?
If not, then is it a good idea to use combo boxes on GUI to select the Hotel/location ?
Then my next Q would be, getting all the possible values from DB all the way to GUI to fill the combo boxes... is that a good idea?
3. 48 hours rule seem to be interesting. I browsed through the related topics here but there are no consensus whether to implement this at client side or server side.
I think I'll implement in db interface side to make the DB safe in case if they expect the DB to handle this for some other future client. Document the same.
Also its not difficult to also have the logic in GUI. So that my validation need not pass all the way back to the server. So if the date is in the not acceptable range, request can be discarded upfront.
What do you think, folks?