Reservation: PageBox for .NET application with booking and search Reservation

for
Presentation Distributed Database Install Security Offer Booking Search Internals

Reservation search

Principle

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.

Search.aspx

Search form: Dropdown list on the top to select the address you want to get the closest location. You can also enter or modify the address below. On the middle left a schedule and on the middle right a calendar to select the date/time slot when you would like to book. At the bottom, the list of the best match Reservation instances. You can click on Mapquest to get the direction to the Reservation instance or on Details to see ApplicationDetails.aspx.

The Search.aspx is divided in four parts

  • Location specification

  • Calendar

  • Schedule

  • List of suitable neighbours

Location specification

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.

Calendar

The customer uses the calendar to select the day where he would like to book.

Schedule

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

  1. Closest to the specified location

  2. 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.

Neighbour list

For each Reservation neighbour, Search.aspx displays:

  • Its URL

  • 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.

Neighbor data: displays the Reservation instance URL, address and GPS coordinates

ApplicationDetails.aspx shows the Reservation peer URL, its address and coordinates.

Contact:support@pagebox.net
©2001-2004 Alexis Grandemange. Last modified .