I have an html table that consists of columns for several days and rows for several hours of the day. I intend it to be a user interface widget, similar to the well-known calendar date picker.
By clicking on a specific cell in the table, select this date and time to create a new reservation.
I have considered using url to represent this choice, for example,
http://jupiter.local/reservations/new/2009-09-10/1200/1300
or
http://jupiter.local/reservations/new/date/2009-09-10/start-time/1200/end-time/1300
Is this a valid approach?
I got a little familiar with the rest, but I still don’t understand it, except for the obvious example used to show how to edit a blog post. e.g. blog / posts / 23 / change
Currently, while playing with the application, I enter details through the form fields, however, the date and time selection widget will be much easier to use.
The (current) plan is to display a series of URLs for the available hours. If the slot is already reserved, the URL is not displayed. Of course, I would also confirm the entry. To begin with, I assume that one hour can be reserved for each hour.
I see that websites such as airlines tend to expose a series of URLs with a unique code. I expect this to require a session to track these unique identifiers.
I am looking for some recommendations on this approach, since I have not developed something similar before, and this is primarily intended for study.
thanks