Skip to content

Case study

Hospital appointment system

An appointment system rebuilt on Laravel, taking an earlier plain PHP project and redoing it on a framework specifically to see what the framework was worth.

Overview

An appointment system for doctors and patients: schedules, bookings, and the conflicts between them. It existed already as a plain PHP project. This is the same system rebuilt on Laravel.

Complexities tackled

Rebuilding something you have already built is the cheapest way to evaluate a tool. The requirements are known and fixed, so every difference in the outcome is attributable to the framework rather than to a change in scope. Migrations, an ORM, routing and validation all stopped being things I had written and became things I was using, and the interesting part was noticing which of them I had previously got wrong.

Booking is a conflict problem. Two patients trying for one slot has to resolve to one booking, and that is a constraint enforced at the database rather than a check in the application, because the check in the application is the one that loses under concurrency.

Stack

Laravel with Eloquent and migrations, MySQL, Bootstrap on the front.

Working on something similar?

Tell me what you are building and what is in the way. I will tell you honestly whether I am the right person for it.

Start a conversation

Last updated: