Modernize one part of a legacy system when you know its inputs and outputs and can compare its results with the old system's. You also need a way to switch back without losing data. Incremental modernization, done in stages, pays off less, and a full rebuild may be simpler, when:
- the system is small enough to replace in one go;
- you can't route the requests that reach it to another system;
- you can change neither its code nor any other integration point, such as its database;
- it has to be retired quickly.
The staged approach is often called the strangler fig pattern, after Martin Fowler's article of that name. Requests pass through a facade, a thin layer that sends each function's requests to the old system or the new one. Functions move across one at a time until the old system can be retired. Fowler took the name from a fig vine that grows on a host tree until it roots in the ground and stands on its own.
Start with the problem you need to fix
Maintenance alone solves many problems with old systems, so name the problem before you choose between modernizing and rebuilding.
| Problem | What usually fixes it |
|---|---|
| A key report gives wrong numbers or breaks | Fix it and add tests as part of maintenance |
| Permissions block a new branch or role | Separate the permission model and make it the first part you modernize |
| The language or framework version no longer gets security updates | Upgrade the framework in stages; some parts of the system may need rewriting |
| Nobody knows which business rules the system applies | Capture its current behavior in tests before changing anything |
A new interface won't repair business rules nobody has agreed on.
Before you choose, list the data sources, integrations, scheduled jobs, files and reports people depend on, and mark what you don't know. A department that never opens the screens may rely on a file exported every night and stop working when the export stops. Talk to every team that uses the system's output before you pick the first part to replace.
Choose the first part with this scorecard
Run each candidate through the scorecard. If it lands in the right-hand column on any factor, investigate it further before you carve it out.
| Factor | Good candidate | Sign you need to investigate further |
|---|---|---|
| Boundaries | Known inputs and outputs | Writes directly to many tables other parts share |
| Success criteria | Examples whose results you can compare | Success depends on one person's memory |
| Data | One system writes, and data flows one way | Two writers change the same data with no rule for conflicts |
| Rollback | The old path can safely resume | Leaves effects that are hard to undo |
| Operations | Named owners for monitoring and for the switch-over decision | No monitoring and no one who can decide |
The switch-over is the moment users move from the old path to the new one. One serious risk, such as the chance of losing financial records, is enough to delay the start even when every other factor looks easy. Agree in advance with the process owner and the engineers on the evidence that lets work begin.
Example: start with a read-only report
A report that reads data without writing it is usually the easiest place to start, because a mistake in it changes no records.
- Pick a report with known inputs that people rely on every week.
- Run the new version against a copy of the data with read-only access.
- Compare its output with the old report over several periods and log every difference with its cause.
- Show the differences to the people who rely on the report and have them sign off on the result.
- Move a small group of users to the new report, and keep the old one available until the comparison ends.
This is an illustration. Some reports can't be separated, and copying data brings its own access, retention and privacy obligations.
A function that writes data carries more risk. Decide which system writes the data during the transition. If both systems change the same record, make one the writer and the other a reader before anyone switches over. Our guide on proving that a replacement system keeps your business rules shows how to give each rule a test case with an expected result.
Write the rollback plan before anyone switches over
- Write the stop conditions, such as a difference in totals nobody can explain.
- Name the person who decides to roll back, and their deputy.
- Decide what happens to records created in the new system after the switch-over if you roll back.
- Rehearse the rollback in a test environment and record how long it actually takes. Don't promise a recovery time you haven't rehearsed.
- Set the date or condition for removing any temporary bridge between the two systems, so it doesn't become a third system to maintain.
We plan rollback the same way in ClinicTek, the clinic management system we build and run at BarmajTek (how we built it). Every release lands on the server in its own folder, and we keep earlier releases. Going back is one command that reactivates a previous release and runs its health checks again. That command restores code only, and database changes that were already applied stay applied. In any legacy modernization, code goes back easily and changed data goes back only with a written plan.
What the assessment costs
Budget for more than building the new part. Monitoring, running both systems during the comparison, reconciling results and cleaning data all cost time and money. None of the offers we prepared from August to October 2026 was a staged modernization project, so we have no reliable price range to publish. We price each stage after the assessment.
The assessment starts with a free first conversation. Then comes a discovery phase for a fixed fee agreed in writing before we start, a study of about 5 working days that sets the scope and the estimate. You get a written map of the system's boundaries, the first part we propose to carve out, and its cost estimate and timeline. We credit the fee to the project. No sales tax is added.
The closest service we priced in our 2026 offers is an architecture and security review of an application before launch. It starts from 600 JOD, based on one offer, and differs from assessing a legacy system. No sales tax is added. We quote clients outside Jordan in US dollars, payable by bank transfer.
Send us a description of your system
Tell us through the project brief or message us with the WhatsApp button on this page what your system does, who uses it, what it connects to and which problem comes first. We'll propose the first part to modernize, or tell you if maintenance is enough. Our page on modernizing legacy systems in stages sets out the full method. If your system needs regular fixes without replacing anything, see ongoing maintenance. If your system runs on Laravel, start with the technical takeover checklist for legacy Laravel applications.
Last updated: 4 November 2026. We rewrote the article and added a scorecard for choosing the first part and a rollback plan.




