Skip to content

Modernisation

Legacy software modernization without stopping the business that runs on it

Legacy software modernization moves an ageing system onto code, frameworks and hosting your team can maintain, while staff and customers keep using it. Codebrix usually works in slices: a routing layer goes in front of the old system, one feature is rebuilt and switched over at a time, and data moves domain by domain with checks before each cutover. A full rewrite is chosen only when an audit gives a reason for it.

Approach
Incremental, feature by feature
Data
Moved domain by domain, checked
Old system
Keeps running until replaced
Pricing
On a call within 1 hour

Updated · By the Codebrix team

Signs a system needs modernising, and signs it does not

Old is not the same as broken. Plenty of systems written long ago do their job, and replacing them would spend money to stand still. The question is what the system now costs you in risk, staff time and lost changes.

Reading the warning signs
What you noticeWhat it costsUsually points to
The language version or framework no longer gets security fixesKnown holes stay open; auditors and enterprise clients ask questionsUpgrade in steps, or replace the parts that cannot be upgraded
Only one person understands the code, and they are leavingEvery change waits on them; a resignation becomes an outage riskDocument and add tests first, then modernise the riskiest modules
Small changes take far longer than they should and break other thingsFeatures the business needs do not shipRefactor with tests, or carve out the busiest feature first
It runs on one server nobody dares to restartDowntime and data loss riskReplatform and backups before any code change; see cloud migration
It works, is patched and rarely changesVery littleLeave it alone and keep it maintained

Refactor, replatform, rewrite or replace: the options compared

Legacy software modernization is a family of choices, and one system can use several of them for different parts.

OptionWhat changesRiskSuits when
MaintainNothing structural; updates and fixes onlyLow today, rising over timeThe system is stable and rarely changes
Refactor in placeCode structure, tests, dependency versionsLow to mediumThe design is sound but the code has decayed
ReplatformRuntime, hosting or database, with little code changeMediumThe code is fine but the server or OS is not
Incremental rebuild (strangler fig)Features rebuilt one at a time behind a routing layerMedium, spread outA large system that must keep running while it changes
Full rewriteEverything, switched over at onceHighA small system, or one with no usable code or integration point
Replace with a productYou adopt off-the-shelf software and migrate dataMedium; mostly data and processThe system does something generic that products now do well

If someone else built the system and you are changing teams, read taking over an existing app first; access and handover come before any of these choices.

How the strangler fig approach works

The strangler fig pattern, described in both the Azure Architecture Center and AWS Prescriptive Guidance, replaces a legacy system piece by piece instead of in one switch-over. Users keep the same entry point and do not need to know a migration is under way. Microsoft's description has four phases:

  1. A façade, or proxy, is placed between the users and the old system. At first it sends almost every request to the old system.
  2. Feature by feature, the façade shifts requests to the new system as each piece is rebuilt and tested.
  3. Once nothing depends on the old system, it is decommissioned and the façade routes everything to the new one.
  4. The façade is removed, or kept as an adapter for older clients, and users talk to the new system directly.

While both systems run, they need to call each other. Both sources recommend an anti-corruption layer for this: an adapter that translates between old and new so the new design does not inherit the old one's quirks. Both also warn that the façade must not become a single point of failure or a bottleneck, so it gets the same monitoring as production.

Microsoft lists cases where the pattern may not suit: requests to the old system cannot be intercepted, there is no access to its source code and no other integration point such as its database, the system is small enough to replace simply, or it must be switched off quickly. In those cases a planned rewrite or a product replacement is usually the better route.

Moving the data: the part that decides success

Code can be rewritten twice if needed. Lost or corrupted records cannot. Microsoft's strangler fig example moves a shared database one business domain at a time: copy the domain's tables and history into a new database, keep the two in step with change data capture while both systems run, validate that they agree, and only then make the new database the system of record for that domain.

  • Row counts per table, compared after the first copy and again before cutover.
  • Totals that finance checks anyway, such as invoice sums by month, matched to the paisa or cent.
  • A sample of real records opened side by side in the old and new screens by someone who uses them daily.
  • The reports people run every week, produced from both systems and compared.
  • Fields that never mapped cleanly, listed with a decision on each rather than silently dropped.

A sensible first milestone: an audit you can use even without us

We suggest starting with one paid milestone: an audit that ends in a written report you keep, whoever does the work after it. A useful audit covers:

  • Whether the code can be built and deployed from the repository as it stands, and by whom.
  • Language, framework and library versions, and which of them no longer receive security updates.
  • Test coverage, and where the absence of tests makes change dangerous.
  • The data model, its quirks and the records nobody can explain.
  • Integrations: payment gateways, accounting software, SMS or email providers, and any files exchanged by hand.
  • Who in your business knows how each part is meant to work, since that knowledge is often more scarce than the code.

The report ends with a recommended option for each part of the system, the order of work, and what would make the plan change. Running costs after the change are covered in our software maintenance cost guide, and adding automated tests early is the job of software testing services.

Stacks we modernise from and to

Common starting pointCommon targetRelated service
Older PHP versions, custom frameworks or unmaintained CMS codeA current PHP version, or a Node.js or Python servicePHP development
Older Java applications on application serversCurrent Java versions, containerised with DockerJava development
AngularJS or jQuery front endsAngular, React or Vue, rebuilt screen by screenAngular development
Spreadsheet and macro workflows that became the systemA web application with a PostgreSQL databaseCustom software development
Systems with no API that other tools must reachAn API layer in front, then gradual replacement behind itAPI development

Pricing, schedule and who owns the result

The schedule is fixed milestone by milestone in the written proposal, after the audit. What moves it: the number of modules, the integrations, how clean the data is, how often the people who know the old system are free to answer questions, and how quickly changes are approved on your side.

We do not publish prices. Describe the system through the enquiry form and the team calls back within an hour, at any hour, 7 days a week, with pricing for the audit and an outline for the rest. A fixed-price proposal with milestones follows, paid per milestone. New code lives in your repository and hosting stays in your accounts. You see progress at a weekly demo on a staging link, each release carries 30 days of free bug fixes, and a month-to-month support retainer with 30 days' notice is available afterwards.

Frequently asked questions

What is legacy software modernization?

It is the work of moving an ageing system onto technology a team can maintain safely: current language and framework versions, tests, supported hosting and a cleaner data model. It can mean refactoring code in place, moving it to new hosting, rebuilding it feature by feature, rewriting it whole, or replacing it with a product. Most projects mix several of these for different parts.

What is the strangler fig pattern in software modernisation?

It is a way of replacing an old system gradually. A façade sits in front of the old system and routes each request either to the old code or to newly built features. As more features are rebuilt, more traffic goes to the new system, until the old one can be switched off. Microsoft and AWS both document it as a lower-risk alternative to a big switch-over.

Can we keep using the old system while it is being modernised?

Yes, and with an incremental approach that is the point. Staff keep working in the old system for everything not yet rebuilt, while finished features move across one at a time. Some changes are visible, such as a new screen for one task, so plan short training for each release. Freezing new feature requests to the old system during the work makes it go faster.

How do you migrate data from a legacy database without losing records?

Copy one business area at a time, keep old and new in step while both run, and compare before switching. Comparisons include row counts, financial totals, sample records checked by daily users, and weekly reports produced from both systems. Fields that do not map cleanly get an explicit decision. The old tables are deleted only after the new system has proved itself.

What if we do not have the source code of our old software?

Options narrow but do not vanish. If the system has a database or files you can reach, new features can be built against that while the old screens are retired one by one. Microsoft notes the strangler fig pattern needs either code access or another integration point. With neither, replacing the system and migrating its data is usually the realistic path.

How much does legacy software modernization cost?

It depends on the size of the system, the integrations, the state of the data and the route the audit recommends, so Codebrix does not publish figures. Send the details through the enquiry form and the team calls back within an hour, at any hour, 7 days a week, with pricing. A written fixed-price proposal with milestones follows, starting with the audit.

Sources

  • Cloud migration

    Cloud migration services for moving apps to AWS, Google Cloud or Azure

    Cloud migration services for apps, databases and files moving to AWS, Google Cloud or Azure: a strategy per app, a rehearsed cutover and a rollback ready.

    Read more
  • Rescue guide

    How to take over an existing app from another developer

    How to take over an existing app from another agency or freelancer: the access checklist, the code audit, store transfers, and stabilising before new work.

    Read more
  • Custom software

    A custom software development company that helps you decide before you build

    Custom software development company in India for internal tools, portals, integrations and apps. Build-vs-buy advice first, fixed milestones, code you own.

    Read more
  • Cost guide

    Software maintenance cost: the four types of work and what drives them

    Software maintenance cost explained: corrective, adaptive, perfective and preventive work, what drives each, runtime end-of-life dates and retainer models.

    Read more
  • Software testing

    Software testing services that tell you whether a release is safe to ship

    Software testing services for web and mobile apps: risk-based test plans, regression packs, release testing and automation in CI, with a written sign-off.

    Read more
  • API development

    API development: REST endpoints and webhooks other teams can build on

    API development company in India building REST APIs and webhooks in Go, Node.js or Python with auth, rate limits, versioning, OpenAPI docs and tests.

    Read more

Tell us what you need

Our team calls you within 1 hour with pricing.

What do you need? (tap any)
Or message us on WhatsApp

We call within 1 hour, any time. Privacy policy

Start a project