How do you replace a legacy user interface in stages?
Put a routing layer in front of the old and new screens, move one complete user journey at a time behind a switch you can turn back, keep a single source of truth for every field, and remove the old screens only after the people who use them have accepted the new journey. This is the Strangler Fig approach applied to the front end. Microsoft's description of the pattern uses a façade that intercepts requests and sends each one to either the legacy application or the new one, so users keep the same entry point while the migration happens behind it; over time more traffic goes to the new side until the old system can be switched off.
The alternative, rebuilding every screen and switching everyone over on one day, is tempting because it looks simpler. Martin Fowler's note on the Strangler Fig Application explains why it rarely is: replacing a serious system takes a long time, users cannot wait for new features in the meantime, and gradual replacement lets the business use the new parts earlier. He accepts that the temporary routing and adapter code has a cost, and argues that the lower risk and earlier value outweigh it. For an interface, there is one more argument: people learn a new screen one task at a time, and a staged rollout lets them do exactly that.
What should you inventory before moving any screen?
Inventory journeys, not pages. A journey is a complete piece of work, such as "find an order, change the delivery address, get approval, confirm to the customer", and it often crosses five screens, a spreadsheet export and a phone call. Moving one page of that journey while the next step stays in the old interface can make the job slower than before. For each journey, record:
- Roles and frequency: who does it, how often, and whether anyone does it only once a month or once a year.
- Business calendar: journeys used in month-end or year-end close carry more risk than their traffic suggests.
- Screens and back-end calls: what the journey reads and writes, and which data it creates.
- Side exits: exports, printouts, bookmarked URLs, keyboard shortcuts and manual workarounds.
- Known problems: errors, support tickets and accessibility barriers in the current version.
Watch people work as well as reading analytics. Page statistics miss the export that finance opens every Friday and the bookmarked search URL a warehouse supervisor has used for six years.
Which journey should move first?
Start with a journey that is valuable to improve, has few dependencies and is easy to reverse; leave journeys tied to period-end close or complex transactions until the shared foundations have proved themselves. Score each candidate from 1 (unfavourable) to 5 (favourable) on value, independence and reversibility. A hypothetical order back office might score like this:
| Journey | Value of improving | Few dependencies | Easy to reverse | Total | Order |
|---|---|---|---|---|---|
| Order lookup (read-only) | 4 | 5 | 5 | 14 | 1 |
| Delivery address change | 4 | 3 | 4 | 11 | 2 |
| Credit note approval | 3 | 2 | 3 | 8 | 3 |
| Month-end reconciliation report | 3 | 1 | 2 | 6 | 4 |
The read-only lookup goes first because it can prove routing, sign-on, navigation and visual consistency without writing any data. The reconciliation report goes last: it touches many tables, it is used under time pressure, and getting it wrong is costly. Adjust the weights to your situation, but write the scores down so the order can be explained to users and support staff.
How do old and new screens live side by side?
Choose an integration technique per journey. Cam Jackson's article on micro frontends describes the main options for composing independently delivered front ends, and the same options apply when one of them is a legacy application:
| Technique | When it fits | Watch out for |
|---|---|---|
| Route by URL path at a proxy | The journey has its own URLs | Shared sign-on, redirects for old bookmarks |
| Embed a new component in an old page | One panel or form is modernised inside an existing screen | Style clashes, duplicate libraries increasing page weight |
| Iframe | A quick bridge for an old page inside the new shell | Routing, browser history and responsive layout are harder |
| Link out to a separate application | Back-office tools used by a different team | Users lose context and may need to sign in again |
Whatever the technique, some things must be shared from the first release: a single sign-on session, so nobody logs in twice; navigation that includes both old and new destinations; and a visual baseline of fonts, colours and spacing, so users do not feel they are switching between products. Jackson recommends keeping communication between front ends to a minimum and using URLs as the contract between them, which also keeps deep links and bookmarks working.
How do you keep data consistent while two interfaces are live?
Give every field one authoritative writer and make both interfaces use the same back-end rules. If validation lives only in the new front end, the old screen will keep accepting data the new one rejects. If the new interface writes a field the old screens cannot display, a user who switches back, or a colleague still on the old version, will not see it. Before a journey moves, check that:
- both interfaces call the same API or service for reads, writes, validation and permissions;
- any new field is at least visible, read-only, in the old interface while both are in use;
- concurrent edits are detected, for example with a record version, rather than the last save winning;
- a journey started in the old interface can be finished in the new one, and the other way round.
How do you roll out and roll back safely?
Release each journey to a small group first, behind a switch that sends users back to the old screens in minutes. Pete Hodgson's article on feature toggles separates release toggles, which are short-lived and hide unfinished work; permission toggles, which turn features on for particular groups of users; and ops toggles, which act as kill switches. A staged UI migration typically uses a permission toggle to choose the cohort and an ops toggle as the way back. Hodgson also warns that toggles are inventory with a carrying cost: give each one an expiry date and a removal task, or the codebase fills with dead switches.
A typical cohort sequence is internal staff, then one team, then one role across teams, then everyone. For each step, compare the old and new journey on task completion time, error or abandonment rate, support tickets and the accessibility checks below. Widen only when the new journey is at least as good on the measures that matter to that team.
How do you avoid accessibility regressions?
Make the current version of the accessibility standard part of each journey's acceptance criteria, and test keyboard-only use explicitly. The W3C published WCAG 2.2 as a Recommendation on 5 October 2023. Several of its new success criteria bite exactly where modern redesigns tend to go wrong: sticky headers that hide the focused element (2.4.11 Focus Not Obscured, level AA), drag-only interactions (2.5.7 Dragging Movements, AA), small touch targets (2.5.8 Target Size, at least 24 by 24 CSS pixels, AA), help links that move around (3.2.6 Consistent Help, A), forms that ask for the same information twice (3.3.7 Redundant Entry, A) and sign-in steps that rely on memory or puzzles (3.3.8 Accessible Authentication, AA). Old back-office screens are often keyboard-driven, and their heaviest users tend to rely on that; keep a sensible tab order and shortcuts for the actions they use most.
Hypothetical example: an order back office
Suppose about forty internal users work in a fifteen-year-old order application. The team places a reverse proxy in front of it and moves order lookup first, under the /orders path, using the existing sign-on. For two weeks only the order desk sees the new lookup; the old search remains one click away. Lookup time and support questions are compared with the previous fortnight.
The address-change journey follows and writes through the same back-end API as the old screen. On the third day, a dispatcher reports that the new form no longer shows the "partial delivery" flag. The ops toggle sends that cohort back to the old form within minutes, no data is lost because both forms use the same API, and the fix is released the next day. Credit note approval moves after that. The month-end reconciliation report stays in the old interface until every other journey is stable, and moves only after it has been run in parallel for one full close. When the old URLs have received no traffic through a complete quarter-end, the old screens, the redirects and the toggles are removed.
What should you check before widening each cohort?
- The journey completes for every role, including the ones that use it monthly or yearly.
- A keyboard-only run-through succeeds, with visible focus at every step.
- A journey started in the old interface finishes in the new one, and vice versa.
- Two users editing the same record in different interfaces get a clear conflict, not a silent overwrite.
- An expired session in the middle of the journey does not lose the user's input.
- Old bookmarks and deep links open the right version.
- Exports from the new journey contain the same fields and values as the old ones.
- The rollback switch has been tested with data created in the new interface.
Common mistakes
- Moving page by page, so users bounce between old and new within one task.
- Copying every old screen exactly, including the workarounds the redesign should have removed.
- The opposite: a cleaner layout that hides a status or changes what a button means.
- Putting validation only in the new front end.
- Leaving toggles, redirects and old routes in place long after the move.
Where should you start?
List your journeys, score them, and pick a read-only one to prove the routing, sign-on and visual baseline. If the bigger question is whether the application should be retained, refactored or rebuilt, start with our application modernisation decision guide. Staged modernisation of existing systems is part of our custom software development service, where you can book a free discovery call.