Hello, i would like to know what happens at the backend(access to remote database), when someone clicks check availability on a, say an online travels, hotels, flights booking page, and he gets informations like if the rooms or flights are available on so and so dates and things.
I would be thankful if someone could atleast help me with the logic because i'm starting up a similar project. I work on PHP, javascript, html, ajax and use Postgresql.
Abie :)
abiec
0
Newbie Poster
Recommended Answers
Jump to PostIts nothing but request/response game.
If you note in case of flight. In the brouwser, in his/her pc, user chose flight, class, date of travel, then u press submit
Now that submitted parameters are send to page on the server
so server use this parameters to query database that how …
Jump to PostThe only thing you have to be aware of is concurrent users. If there are only a few places left and you're half way through a booking, it would be an amazing shame if when you get to the 'confirm' button, that it tells you 'tough luck' as somebody half …
Jump to PostThe only thing you have to be aware of is concurrent users. If there are only a few places left and you're half way through a booking, it would be an amazing shame if when you get to the 'confirm' button, that it tells you 'tough luck' as somebody …
All 9 Replies
urtrivedi
276
Nearly a Posting Virtuoso
ckarlss0n
0
Newbie Poster
diafol
urtrivedi
276
Nearly a Posting Virtuoso
abiec
0
Newbie Poster
urtrivedi
276
Nearly a Posting Virtuoso
abiec
0
Newbie Poster
diafol
abiec
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.