Rebuild or Extend? Replacing a Charity's Platform After Years
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 a UK charity's free computing courses for schools. This year I led the build of its replacement. I usually treat a rebuild of a working system as the wrong call, so it is worth saying why this one was right, and what we 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. It carried the charity's public website and blog, pulled from a headless CMS, together with the accounts teachers and volunteers used, course selections, volunteer help requests, events and sessions. The yearly national competition, where industry volunteers judge students' apps, ran in a separate Elixir app.
Each part worked. A change to how teachers ran courses still had to be made in the app that was also the charity's marketing site, and the competition data lived in a different system with a different stack. The courses themselves were changing, with new ones on the way, inside a codebase shaped around the old ones.
Four decisions justified the rebuild
I default to extending. Four decisions made a rebuild the smaller risk here.
The product was changing. The charity wanted teaching, volunteering and the competition in one focused product, and its public website could live on its own.
The old structure fought the new one. 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. Putting that into the old model would have meant reshaping most of it anyway.
The old system could keep running during the build. That took away the pressure to cut over early, and the old platform could carry the programme until the new one was ready.
I knew the old system from years of work on it. That mattered more than the technical argument. A rebuild led by people who do not know why the old system is the way it is tends to repeat its mistakes, and to drop features whose purpose was not obvious.
Keep the roles and rules that already work
We kept what the old platform had already proved: teachers, volunteers and administrators each see different parts of the programme; volunteers are matched to classes on their expertise; the competition is judged on the idea, the product and the teamwork, with one score per judge per entry.
We also kept Rails. The team knew it, the charity's existing systems used it, and the product is a server-rendered web app used on school networks.
Keep the public site outside the course platform
The public website and blog stayed out of the new platform. So did anything the charity's team could not name a current use for. The new platform does teaching, volunteering, the competition, and the reporting that ties them together.
Every feature carried over is another thing to rebuild, test and explain. Cutting scope was the main way we kept the risk down.
How we kept the risk down
The charity's education and programme team defined what the platform had to do, and they signed off each decision. I worked with a designer on the product and wrote the code.
The parts most likely to change were built as configuration the team could edit without a release. Check-ins, student feedback and quizzes run on a questionnaire engine we built in-house, so the education team can change questions without waiting for us.
When I would not rebuild
If the product is not changing, extend it. If nobody who knows the old system is involved, extend it until someone is. If the old system cannot run alongside the new one, the rebuild becomes a cutover under pressure, and that needs a stronger reason than a tired codebase.
The new platform is live with schools.