|Table of content|
Reservation can be deployed using PageBox. A Reservation instance can leverage on that fact to find other suitable PageBoxes in the same constellation.
In the context of Reservation (same price, same service) a PageBox is suitable if it is close to the customer.
The idea is that when you cannot serve a customer, it is better to route her or him to a constellation partner. Firstly the customer is satisfied. Secondly because your partners do the same you also get bookings from them.
Reservation calls a PageBox Query Web service to get the URL of all other subscribing Reservation instances in the same constellation. The local PageBox itself knows nothing about subscribers and forwards the request to the Repository. Then Reservation calls the Location Web service of peer Reservation instances to notify its location and get their location. The protocol is described in more details in distributed.html.
For the moment this protocol is only implemented in PageBox for .NET.
Information about Reservation peers is stored in the applications table.
For more information about the database model, visit resa-db.html.
Search.aspx allows finding suitable PageBoxes.
If the customer also specifies a date and some preferred slots, Search.aspx calls the Location Web service to get availabilities. Then it displays the most suitable Reservation instances – the closest with available slots at the time specified by the customer.
The Search.aspx is divided in four parts
List of suitable neighbours
The customer can select either the location of this Reservation instance or its location (as recorded when she or he registered) or any location that it sets on this form. The later option can be useful for instance during a travel.
The customer uses the calendar to select the day where he would like to book.
The customer uses the schedule to select the slots where he would like to book.
She or he can use the Clear Schedule Selection to uncheck the possible slots.
When the customer clicks on list, Search.aspx searches the Reservation peers
Closest to the specified location
With available resources at the date specified on the calendar and for the slots checked on the Schedule
And populates the neighbour list with their URLs.
For each Reservation neighbour, Search.aspx displays:
A link to MapQuest to display the direction (this function only works for Europe and North America)
A link to neighbor data
When the customer clicks on the later link, she or he is displayed the ApplicationDetails.aspx form.
ApplicationDetails.aspx shows the Reservation peer URL, its address and coordinates.
©2001-2004 Alexis Grandemange. Last modified .