Paul Bădărău

Replacing a charity platform after years of extending

When a charity platform has grown into a website, a blog, accounts, and a separate competition app, when is a rebuild right? What I weighed, kept, and cut.

For years I was the main developer on the platform behind an education charity's free computing courses for schools, and this year I led the build of its replacement. I usually treat a rebuild of a working system as the wrong call, so it's worth explaining why this one made sense and what I did to keep the risk down.

The content site and course product had grown apart

The old platform was a Rails application that had grown over several years, carrying the charity's public website and blog from a headless CMS alongside teacher and volunteer accounts, course selections, volunteer help requests, events, and sessions. Meanwhile, the yearly national competition where industry volunteers judge students' apps ran in a separate Elixir app.

Each part worked on its own, yet a change to how teachers ran courses still had to land in the same app that served as the charity's marketing site, and the competition data lived in a different system with a different stack. The courses themselves were changing too, with new material on the way inside a codebase shaped around the old structure.

Four decisions justified the rebuild

I default to extending existing systems, and four conditions made a rebuild the smaller risk here. First, the product direction was shifting, because the charity wanted teaching, volunteering, and the competition in one focused product while letting its public website live on its own.

Second, the old data model fought the new requirements, since course delivery had been bolted onto a content site. The new courses needed lessons broken into steps, teacher guidance on each step, modules that open in order, and quizzes that mark themselves; fitting that into the old model would've meant reshaping most of the schema anyway.

Third, the old system could keep running during the build, which removed the pressure to cut over early and let the existing platform carry the school programme until the replacement was ready. Finally, I knew the old system from years of working on it, and that mattered more than any technical argument; a rebuild led by people who don't know why the old code is shaped the way it is tends to repeat old mistakes and drop features whose purpose wasn't obvious.

Keep the roles and rules that already work

I kept the domain rules the old platform had already proved: teachers, volunteers, and administrators each see different parts of the programme, volunteers match to classes on their expertise, and the competition is judged on the idea, the product, and the teamwork with one score per judge per entry. I also kept Rails. The team knew it, the charity's existing systems used it, and the product is a server-rendered web app that has to work reliably on school networks.

Keep the public site outside the course platform

The public website and blog stayed out of the new platform, and so did anything the charity's team couldn't name a current use for. The new app handles teaching, volunteering, the competition, and the reporting that ties them together. Every feature carried over is another thing to rebuild, test, and explain later, so cutting scope was the main way I kept the risk down.

How I kept the risk down

The charity's education and programme team defined what the platform had to do and signed off each decision, while I worked with a designer on the product and wrote the code. For the parts most likely to change, I built them as configuration the team could edit without a release; check-ins, student feedback, and quizzes all run on an in-house questionnaire engine, so the education team can update questions without waiting on a developer.

When I wouldn't rebuild

If the product isn't changing, extend it. If nobody who knows the old system is involved, extend it until someone is. When the old system can't run alongside the new one, a rebuild turns into a cutover under pressure, and that takes a much stronger reason than a tired codebase.