06. TRAVEL BOOKING

One site, four eras of the web.

Built for CS 6314 Web Programming Languages across four milestones, each one layering on a new era of the web. Static HTML and CSS first, then JavaScript interactivity and validation, then a shopping cart, then server side authentication. All four still run, side by side, below.

HW1, the static foundation

Flights, hotels, and rental cars laid out in plain HTML and CSS, no scripting at all. This is the site before the web got interactive, forms and all.

open hw1

HW3, the JavaScript era

The same pages, now with client side form validation and DOM scripting doing the work a server would have done a few years earlier.

open hw3

HW4, the shopping cart

Flights, hotels, and rental cars can now be added to a cart and carried across pages, all in client side state. This is the full site as it shipped for the course, embedded below.

hw4. the full client side site. open full size

HW5, server side authentication

Register and log in, backed by real password hashing and session checks. The original was built with PHP and MySQL for the course, and that source still lives in the repo. The version embedded here is reimplemented with the same validation rules, running on Cloudflare Workers and D1 so the whole site can stay on a single static host.

hw5 auth. workers + d1 port. open full size