|
-
Apr 11th, 2010, 05:59 PM
#1
Thread Starter
Fanatic Member
Availability for Hotels/Motels etc
I'm looking at making a simple reservations system for a an accommodation providor.
It will be for just one place but i'm also looking at using another program that will look for more than on providor.
What I'm stuck with is how to set up my database?
How can I set it up so you can search for a room in dates are see if it is available? would I need to set up a table for each providor and have each room in there? then how would I work with dates and when they are available etc?
What I've thought of so far is this.
Perhaps I would need one table with "rates" in various date ranges (holidays would be more than low season etc), "room type" and "room type count" etc. Then do a search when requested.. this would then say
I'm looking for "Standard Room" I know there are 4 of these the date requested is June 12 - June 14 the rate then is $84 a night and how many rows are there? if there are 3 then I have a free room? if there are 4 then i'm sold out.
Would this work? or what other ways are there of doing this ?
-
Apr 11th, 2010, 08:33 PM
#2
Re: Availability for Hotels/Motels etc
Check first what data you can pull from other systems and how they will receive your data/updates before proceeding with low level design (top to bottom).
-
Apr 12th, 2010, 02:32 PM
#3
Thread Starter
Fanatic Member
Re: Availability for Hotels/Motels etc
Does anyone know if three is a standard format that hotels/motels send/recieve information?
I didn't consider this side of it. It was for a single direct book provider but if I build a system i may wish to sell in future it might as well send/recieve information in the correct format so others can use the providers sales data.
-
Apr 13th, 2010, 02:46 PM
#4
Thread Starter
Fanatic Member
Re: Availability for Hotels/Motels etc
How would I find such an answer if no one knows?
-
Apr 13th, 2010, 02:51 PM
#5
Re: Availability for Hotels/Motels etc
There are many different formats that are sent... (I work for a company the does this kind of work).
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Apr 13th, 2010, 03:05 PM
#6
Thread Starter
Fanatic Member
Re: Availability for Hotels/Motels etc
Are you able to point me in the right direction? I realise you will not be able to share trade secrets with me but just give me a starting point??
This is more a fun project than a business project.
-
Apr 13th, 2010, 03:14 PM
#7
Re: Availability for Hotels/Motels etc
We have different specs from Hiltion, Holiday Inn.... they supply us what then need to feed their systems and we generate that from our database and send them to theirs.
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Apr 13th, 2010, 03:21 PM
#8
Thread Starter
Fanatic Member
Re: Availability for Hotels/Motels etc
Is it a simply web service or XML or is it via another system all together?
-
Apr 14th, 2010, 07:11 AM
#9
Re: Availability for Hotels/Motels etc
We send/recive from one customer XML (their format) and another we send CSV for..... All our stuff is generated from a webservice that will gather data from our SQL Server databases and pass to the customer.
Sometimes the Programmer
Sometimes the DBA
Mazz1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|