Discussion

Before modernizing a legacy app, what do you check first?

0 helpful
3 replies
I've been reading about legacy modernization, and most advice jumps straight to "rebuild or refactor". I'm more curious about the step before that.

When an old application has little documentation, where do you even begin? The database, the integrations, or the business rules buried in the code?

My guess is that integrations cause the most surprises, since other systems quietly depend on them. But I could be wrong.

For those who've handled this, what did you check first? And what do you wish you had caught earlier?

Reply

3 replies

by Dan Dowel

I would start with what the app actually does today, before looking at any new stack. Map the main workflows, note which parts people rely on most, and check where the data lives and how it is used. After that, I would look at the dependencies and integrations, since those are the places where a small change can have a wide effect. It also helps to find out how the app is deployed and how it can be rolled back, so the first changes can be small and reversible.

by Khalid Al Mansoori

I would add one more check to Dan's list: who still depends on the app's outputs, including the quiet ones. Scheduled reports, email exports and the spreadsheet someone in finance downloads every Friday are easy to miss when you map workflows from the UI alone, and they are usually what breaks first after a migration. I like to pull a month of server logs and database queries before touching anything; it tells you which features are actually used, which integrations are still alive, and which parts nobody would miss. That evidence makes the rebuild-versus-refactor conversation much more honest, because you are arguing from usage rather than from how the code looks.

by Unique Links

Before modernizing a legacy application, I would start with a dependency and impact assessment rather than immediately choosing between rebuilding and refactoring.

First, map the integrations: identify external APIs, payment gateways, authentication services, scheduled jobs and other systems that exchange data with the application. These dependencies can reveal hidden business-critical workflows.

Next, examine the database schema, data quality and relationships between tables. Then review the code to identify business rules, especially those that are not documented but still affect daily operations.

I would also check:

  • User workflows: Which features are essential to daily operations?

  • Logs and monitoring: Where do errors, performance issues and recurring failures occur?

  • Security: Are authentication, permissions and sensitive data properly protected?

  • Testing: Are there existing automated tests, or will critical workflows need baseline tests?

One practical step is to create a system dependency map and document the most important workflows before changing anything. This provides a clear picture of what could break, helps prioritise risks and makes it easier to decide what should be refactored, replaced or retained.

The biggest mistake is modernizing code without first understanding how the application actually supports the business.

Your reply

Posts from new accounts enter the moderation queue before publishing. No advertisements, promotional content, or personal attacks. See the community guidelines.