this issue will have implications on the entire architecture of my web site, hence the high number of points.
I run a web site built using IIS 4.0 & ASP which provides accomadation reservation facilities. I want to be able to package the ability of my site so that other web sites can provide this reservation ability from their own pages and allow them to control the look and feel.
So I want it to provide an 'interface' via a set of scripts which would function something like the following:
GetHotels script: returns a list of hotels along with their phone number, address details, etc.
GetAvailabiltyAtHotel: this script returns the list of available rooms, which match the supplied critera
MakeReservation: This script makes a reservation at the specified hotel using the details supplied to the script.
So, the web site which calls these scripts get the 'raw data' back and they can control the presentation of the data.
// The list of hotels is returned from the above
// GetHotels script in an array called hotels with the
// following fields
// Now use the contents of the hotels array to write
// the page content.
All suggestions appreciated.