- Dates
- Selection
- Confirmation
The engine checked the selection again before confirming the stay.
The hotel website started the journey
I worked on a JavaScript widget that could be embedded in the property’s website and open the booking engine there. The search could start from a button or date picker. If the guest had already selected dates or was browsing in a particular language, the engine received that context. Asking for it again on the next screen would have interrupted the experience I was trying to create.
That separation also helped keep the product maintainable. The hotel website remained the place where guests got to know the property and started the search. The booking engine continued the journey using the reservation rules. The hotel could keep its own design while availability and confirmation had a defined place in the product.
Availability depended on the whole stay
In the booking engine’s PHP and MySQL backend, I worked on the query that selected rooms. Availability depended on dates, occupancy, and the rules for that search. Imagine a room is free on Friday and occupied on Saturday. For a two-night stay, showing it as available on Friday would give the guest an answer the hotel couldn’t honor.
Rates depended on context, too. They could vary with the length of the stay or occupancy, and extras had their own dates and limits. I worked on date-based extras in both the booking engine and the hotel’s operations interface. That meant looking at the same rule from two places: how the hotel configured it and how the guest saw it while putting the stay together.
Choosing a room and confirming it were different steps
The search returned options. Confirmation needed another check because availability could change while the guest reviewed the details. That was one of the most important boundaries in the flow: a selection was an intent to book, and the engine checked for conflicts again when processing it.
I also worked on connecting payment integration to the outcome of the reservation. I wanted the confirmation to reflect the state the engine could communicate to the guest and the hotel. For the guest, the final step was knowing what stay had been confirmed. For the hotel, it meant having that reservation when reviewing occupancy and preparing for the guest’s arrival.
Designing for both sides of the reservation
As CTO, I had to think about where the public experience ended and where hotel operations took over. As a developer, that question came up while working on an availability query, a date-based extra, or a confirmation response. These were small decisions in the code that affected two screens and two different people.
I came away with a concrete way to review the product. The experience started where the guest picked dates and ended when the guest could understand their reservation and the hotel could act on the same information. Following the whole journey helped me decide what context needed to carry over from one step to the next and what needed to be checked again.
Follow a booking from search to confirmation in NearbyBooking
