Let's talk about your project

Architecture

Modernising ageing software without rebuilding everything

Rewriting software from scratch is tempting, and often risky. Modernising it in stages limits the risks without interrupting your users' work: understand, secure, replace piece by piece, migrate the data.

By the EXORA teamPublished Updated 2 min read

Key points

  1. Start with an audit: you can only modernise well what you understand.
  2. Secure what exists first: backups, tests, security fixes.
  3. Replace piece by piece, running the old and the new side by side.
  4. Measure each step and always keep a way back.
On this page

Why complete rewrites often fail

Software that has been in production for years contains hundreds of business rules. Many of them are written down nowhere but in the code.

A complete rewrite has to rediscover all of them while the old system keeps evolving. These projects often overrun, and the company ends up maintaining two systems at once. Hence the step-by-step approach we follow for legacy software modernisation.

Step 1: understand what exists

The audit covers four areas.

  • The state of the code and of the components it depends on, especially those that no longer receive security updates.
  • The structure and quality of the data.
  • The integrations with other tools.
  • The features actually in use, often far fewer than those that exist.

It leads to a written assessment and a map of the risks.

Step 2: secure before transforming

First come verified backups, updates to vulnerable components and tests on the essential flows, such as order taking or invoicing.

These tests then check, at every step, that nothing has been broken.

Step 3: replace piece by piece

The safest method is to extract one function at a time: build the new module, gradually redirect usage to it, then retire the old one.

Users experience no disruption, and each step brings a concrete benefit. Each switchover is measured, and the old module stays in place until the new one has proved itself: you can always go back.

In the profession, this is called the ‘strangler fig pattern’: the new system grows around the old one until it replaces it entirely.

Step 4: migrate the data with care

Data migration is often the most delicate part: inconsistent formats, duplicates, fields used for something other than their intended purpose.

It is prepared with tested scripts, consistency checks and rehearsals before the actual switchover.

When a rewrite is still justified

Starting from scratch is sometimes reasonable: small software, a technology that can no longer be made to work, features that need rethinking entirely. Even then, the data migration and the temporary coexistence of the two systems must be planned.

Related expertise

Keep reading

All articles

Existing software to modernise?

Describe the software in place and what is holding you back today. First step: understand what exists, before changing anything.