Engineered Workflows

ENGINEERED WORKFLOWS / CASE STUDY 001

  • Workflow Automation
  • Legacy Modernization
  • AI-Assisted Engineering

Modernizing Legacy Software Without a Rewrite

How a nearly five-year-old web application was modernized through incremental engineering and artificial intelligence — preserving its original business logic, historical data, and software investment.

Project
Bracket Fan
Modernization period
November–December 2026
Original commit
February 2022

View the Bracket Fan portfolio project Visit Bracket Fan

Laptop and phone showing the modernized Bracket Fan homepage
Modernized Bracket Fan homepage across desktop and mobile.

Completed within approximately 26 elapsed hours. Hands-on engineering time is estimated.

See the transformation

Executive summary

TL;DR — Modernization without starting over

The challenge

Bracket Fan was a nearly five-year-old web application that still performed its core functions but relied on aging interfaces, recurring manual maintenance, and an outdated development workflow.

The approach

Engineered Workflows used a human-led, AI-assisted engineering process to modernize the existing application incrementally. ChatGPT supported planning and review, Cursor assisted with implementation and testing, and the engineer retained responsibility for technical decisions and production releases.

The outcome

Modernized desktop and mobile interfaces, stronger application controls, automated homepage content, and a repeatable deployment workflow — delivered across 29 changed files and seven merged pull requests without replacing the original application or modifying its database schema.

The takeaway

Existing software often contains years of valuable business knowledge. With the right engineering approach and modern tools, that software can be improved substantially without starting over.

A working application. A new opportunity.

Bracket Fan is an independently developed web application for tournament bracket competitions, providing self-service account management, bracket submissions, automated scoring, and live leaderboards.

First developed in 2022, it has supported both NCAA basketball and women's volleyball competitions. It is publicly available, although its current user community consists primarily of family and friends.

Preparing for another tournament in late 2026 presented an opportunity to revisit the application — not to replace what already worked, but to improve its usability, reliability, and maintainability.

The story of how Bracket Fan reached that point begins long before its first line of code.

Bracket Fan DNA

Four generations. One problem to solve.

Bracket Fan didn't begin as a software development project. It began with a stack of paper brackets, a highlighter, and a recurring administrative task.

Over several years, the same fundamental problem was addressed through four generations of increasingly capable solutions. Each generation built upon the lessons of the previous one.

  1. Generation 01

    Paper brackets

    Recognizing inefficiency

    Circa 2016

  2. Generation 02

    Excel and email

    Automating the workflow

    Circa 2017

  3. Generation 03

    Custom web application

    Building a better system

    February 2022

  4. Generation 04

    AI-assisted modernization

    Extending the value

    December 2026

Continuous workflow improvement

Paper, pens, and highlighters

Years ago, I volunteered to be the commissioner of an NCAA basketball bracket challenge at work.

Approximately 12-15 participants submitted their predictions on paper. After each tournament game, I would work through every bracket, highlight correct and incorrect selections, calculate points, and maintain the standings.

I enjoyed organizing the competition, but the repetitive work involved in managing it quickly became apparent. There had to be a better way.

Printed tournament bracket with handwritten team selections, highlighted correct picks, crossed-out incorrect picks, and scoring pens.
Recreation of the original paper-based scoring workflow, when each participant's bracket was marked by hand after tournament games.

Excel and email

The following year, I replaced the paper brackets with an Excel template that participants could complete and return by email.

A separate administrative workbook consolidated the submitted brackets, accepted tournament results, automatically calculated points, and generated a leaderboard.

I still distributed standings by email, but much of the repetitive administrative work had been automated. The underlying process hadn't changed. The tools had.

Excel workbook used to collect bracket submissions and calculate standings
The Excel generation calculated points from game results. Standings were still sent by email.

A custom web application

Eventually, my son and his friends wanted to participate in their own bracket competition. I wanted to give them a straightforward alternative to commercial platforms—free of the ads and follow-up marketing emails that usually come with them—where participants could create accounts, join competitions, submit brackets, and track standings themselves.

Beyond solving that problem, I saw this project as an ideal hands-on way to learn PHP and SQL, a language I had no prior experience with.

Using LinkedIn Learning courses, official documentation, online examples, and countless Google searches, I built what would become Bracket Fan from scratch. The first source-code commit was recorded in February 2022.

The desktop screenshot in the timeline above was captured during the 2026 review of that application; it shows the pre-modernization interface rather than a snapshot from February 2022.

Bracket Fan desktop homepage before the 2026 modernization
Tournament-specific homepage messaging required manual source-code updates.

AI-assisted software modernization

Nearly five years later, preparing for another tournament provided an opportunity to revisit the application. Generative AI tools could assist with understanding existing code, evaluating approaches, developing changes, and reviewing results.

The objective remained the same: find a better way to solve the problem. This time, the opportunity was to improve the application that already existed.

Bracket Fan desktop homepage after the 2026 modernization
Tournament information and submission countdowns are driven by existing database records.

The modernization challenge

When software still works, but the tools around it have aged

By late 2026, Bracket Fan remained a functional application. Its tournament engine worked, historical competitions remained accessible, and users could still participate in new tournaments.

However, several areas had become increasingly difficult to maintain or no longer provided the experience expected from a modern web application.

Recurring manual maintenance

The public homepage contained hardcoded, tournament-specific messaging that required periodic source-code changes. Even when tournament information was available in the database, the homepage still needed to be updated manually.

An aging development workflow

Source control and deployment were closely tied to the hosting environment. Returning to the project after months away required additional effort to reestablish a productive development environment.

Inconsistent desktop and mobile experiences

Several interfaces had originally been designed around desktop layouts. Tables, navigation, forms, and bracket editing controls did not consistently adapt to smaller screens.

Application reliability and data integrity

Existing workflows presented opportunities to strengthen submission deadlines, input validation, authorization, and the relationships between competitions and tournaments.

These were not reasons to discard the application.

They were reasons to improve it.

The modernization strategy

Keep what works. Improve what doesn't.

The first decision was architectural: Bracket Fan would remain a PHP and MySQL application.

A complete rewrite could have introduced unnecessary migration work, additional testing requirements, and risks to the application's established tournament logic.

For an application that was already serving its intended purpose, the potential benefits of a rewrite did not justify that complexity. Instead, the modernization was designed around two complementary objectives.

Preserve the application core

  • Existing tournament engine and bracket progression logic.
  • Established scoring algorithms.
  • Historical competitions and participant records.
  • Production MySQL database and its seven existing tables.
  • Original PHP application architecture.
  • Existing production hosting platform.

Modernize the surrounding experience and infrastructure

  • Source control, development environment, and runtime.
  • Application navigation, forms, and responsive interfaces.
  • Tournament lifecycle and submission enforcement.
  • Data validation and authorization controls.
  • Homepage content management.
  • Development, review, and deployment workflows.

This approach directed engineering effort toward improvements that would deliver meaningful value while minimizing unnecessary disruption.

It also preserved an important asset that is often overlooked when discussing legacy software: the business knowledge already embedded within a working application.

Building with AI: then versus now

Different tools. The same engineering responsibility.

When I originally developed Bracket Fan in 2022, learning and implementing new capabilities often involved hours of searching for examples, reading documentation, experimenting with code, and debugging unexpected behavior.

I was simultaneously learning a programming language and a database language while trying to build a working application.

Nearly five years later, I approached the modernization of that same application using ChatGPT and Cursor as collaborative engineering tools.

The tools had changed considerably. The engineering responsibility had not.

I still defined the objectives, established constraints, evaluated technical trade-offs, tested the application, and determined when changes were ready for production.

AI assisted with the work. It did not determine the objectives or independently decide what constituted an acceptable solution.

Human-led engineering. AI-assisted execution.

Rather than issue a single request to modernize an entire application, the work progressed through a repeatable cycle of planning, implementation, review, and validation.

AI assisted throughout this process, while technical decisions and production acceptance remained the responsibility of the engineer.

Human-led engineering cycle The engineer directs ChatGPT and Cursor separately. Each returns work for human review. Review either sends the work back to the engineer to refine and repeat, or accepts it for commit, pull request, merge, and controlled release. The tools do not authorize release or communicate with each other.
Iterative collaboration coordinated by the engineer, with human acceptance before release.

The value was not simply in generating code. It was in supporting a more efficient cycle of analysis, implementation, review, and iteration — with engineering judgment guiding the outcome.

A phased approach to modernization

Meaningful improvements, delivered incrementally

The modernization began with an initial review of the existing application and its development environment.

The work was divided into six primary engineering phases, beginning with the development and infrastructure foundation. Subsequent application changes were delivered through seven merged pull requests, including a final data integrity refinement before production release.

Each change addressed a defined objective, allowing the implementation to be reviewed and refined without unnecessarily expanding its scope.

The documented engineering milestones below illustrate how the work progressed from project initiation to a coordinated production release within approximately 26 elapsed hours.

From infrastructure to production

Day 1 — Project initiation

  1. Project start

    The modernization begins

    Reestablishing the development environment and reviewing the existing application.

Day 2 — Modernization & production release

  1. Phase 0 · Infrastructure commit

    Establish a maintainable foundation

    GitHub, Heroku-24, PHP 8.5, and development configuration.

  2. Phase 1 · PR #1 merged

    Create a consistent user experience

    Shared visual foundation, responsive navigation, and application layouts.

  3. Phase 2 · PRs #2–3 merged

    Make competition information more accessible

    Modernized dashboard, responsive leaderboard, and group administration.

  4. Phase 3 · PR #4 merged

    Make application behavior more reliable

    Centralized tournament lifecycle and submission enforcement.

  5. Phase 4 · PR #5 merged

    Eliminate recurring homepage maintenance

    Evergreen, database-driven homepage.

  6. Phase 5 · PR #6 merged

    Improve the bracket editing experience

    Improved controls, deadline behavior, and saved-state tracking.

  7. Final review · PR #7 merged

    Protect historical data relationships

    Immutable competition-to-tournament assignments.

  8. Production release · Heroku v116

    Core modernization deployed

    Coordinated production release of the accepted changes.

~26 clock hours

Elapsed modernization window

4–5 hours

Estimated hands-on engineering

Day 3 — Post-release refinement

Production hotfix deployed

PR #8 · Heroku v117

Content-based asset versioning to resolve a production stylesheet caching issue.

Project days represent the chronological progression of the modernization, not continuous working sessions. Hands-on engineering time is an estimate. The Day 3 hotfix is excluded from the core modernization window.

The transformation

Visible improvements. Meaningful outcomes.

The modernization of Bracket Fan was not simply a visual redesign. Each major interface improvement addressed a practical usability, maintenance, or workflow challenge.

The comparisons below demonstrate how the existing application evolved while retaining its underlying business logic and historical data.

An evergreen homepage

Engineering out recurring maintenance

The original homepage relied on hardcoded tournament-specific messaging. Even when tournament information already existed in the database, preparing for a new competition could require source-code changes and another production release.

The modernized homepage retrieves tournament information directly from existing records, presenting relevant competitions and submission countdowns through a responsive interface.

Desktop experience

Bracket Fan desktop homepage before the 2026 modernization Bracket Fan desktop homepage after the 2026 modernization

Tournament-specific homepage messaging required manual source-code updates.

View full size: Bracket Fan desktop homepage before the 2026 modernization

Tournament information and submission countdowns are driven by existing database records.

View full size: Bracket Fan desktop homepage after the 2026 modernization

View full size
Bracket Fan mobile homepage before the 2026 modernization
Bracket Fan mobile homepage after the 2026 modernization

Left: Before. Tournament dates and messaging were written into the homepage.

Right: After. Tournament information comes from existing database records.

What changed

  • Modern, responsive public-facing design.
  • Clearer application identity and calls to action.
  • Database-driven tournament information.
  • Dynamic submission countdowns.
  • Support for multiple current tournaments.

Why it matters

A recurring maintenance task was engineered out of the application.

Tournament-specific homepage updates no longer require editing application code or deploying a new release. Maintaining the underlying tournament records is sufficient to update the relevant homepage content.

This is workflow automation delivered through software modernization.

A more actionable dashboard

Organizing information around the user's needs

The original dashboard provided access to competitions but offered limited distinction between current activities and historical information.

The modernized dashboard prioritizes active tournaments, participation deadlines, and relevant actions, while retaining historical competitions in a more compact archive.

Desktop experience

Bracket Fan desktop dashboard before the 2026 modernization Bracket Fan desktop dashboard after the 2026 modernization

Current and historical competitions shared a less structured dashboard presentation.

View full size: Bracket Fan desktop dashboard before the 2026 modernization

Active tournaments and relevant actions are prioritized, with historical competitions retained in a compact archive.

View full size: Bracket Fan desktop dashboard after the 2026 modernization

View full size

What changed

  • Clearer presentation of active tournaments and participation deadlines.
  • Improved competition organization.
  • More accessible create and join actions.
  • Compact historical competition records.
  • Consistent desktop and mobile layouts.

Why it matters

Useful dashboards should help people understand what requires their attention, not simply display all available information.

The same principles apply to internal business applications and operational reporting systems: prioritize actionable information while keeping historical records accessible.

A competition experience designed for mobile

Making complex information easier to consume

Competition standings contain participant information, bracket selections, scores, and tournament results. The original leaderboard presented this information primarily through a desktop-oriented table.

The modernized interface adapts its presentation to the available screen space, retaining a compact desktop table while providing more readable participant cards on mobile devices.

Same competition. Better presentation.

Mobile Fan Group standings before modernization, using the same historical competition as the after screenshot
Mobile Fan Group standings after modernization, using the same historical competition as the before screenshot

Left: A desktop-oriented leaderboard was difficult to consume on a smaller screen.

Right: Responsive participant cards make standings, scores, and pick details more accessible.

Desktop experience

Desktop Fan Group standings before modernization, using the same historical competition as the mobile comparison Desktop Fan Group standings after modernization, using the same historical competition as the mobile comparison

A reorganized competition interface provides clearer standings, tournament progress, and relevant actions.

View full size: Desktop Fan Group standings after modernization, using the same historical competition as the mobile comparison

View full size

What changed

  • Responsive desktop and mobile standings.
  • Tournament progress indicators.
  • More readable participant scores.
  • Dedicated standings and pick-detail views.
  • Improved competition navigation and administration.

Why it matters

Making a desktop application usable on a phone requires more than reducing its dimensions.

Existing data and functionality can often be presented more effectively by reorganizing the interface around the constraints of the device, without replacing the underlying system.

A better bracket editor

Modernizing the experience while preserving the engine

The bracket editor contains some of Bracket Fan's most specialized functionality, including tournament selections, bracket progression, scoring, and randomization.

Rather than replace that engine, the modernization improved the controls, feedback, and application rules surrounding it.

Mobile bracket editor before the 2026 modernization
Mobile bracket editor after the 2026 modernization

Left: Editing controls and deadline information were less consistently organized on mobile.

Right: A clearer editing workflow brings submission information, controls, and saved-state feedback together.

The original engine, a modernized experience

Desktop bracket editor after the 2026 modernization
The specialized tournament engine and bracket geometry remain in place, surrounded by improved editing controls and clearer application feedback.

Clear feedback throughout the submission lifecycle

Submissions open

Modernized bracket editor showing an open submission window, countdown, editing controls, and unsaved-changes notification.
Users can see when submissions close and whether their changes have been saved.

Submissions closed

Modernized bracket editor showing a locked submission state and confirmation that all changes are saved.
Saved selections remain available for viewing while further editing is prevented.

What changed

  • Clearer bracket editing controls.
  • Prominent submission deadlines.
  • Unsaved-change detection and saved-state confirmation.
  • Improved mobile layout.
  • Consistent behavior when submission deadlines expire.

Why it matters

Specialized business logic often represents years of development and practical experience.

By preserving the original tournament engine while improving its controls, feedback, and submission enforcement, Bracket Fan gained a better user experience without the risk of replacing its core functionality.

Real engineering, not one-click modernization.

A common misconception

Incorrect statement: AI-generated software is effortless and automatically correct.

Not everything worked the first time.

AI-assisted development does not eliminate the need for testing, engineering judgment, or an understanding of existing systems.

Several discoveries during the Bracket Fan modernization reinforced the importance of human oversight — and demonstrated why the engineering process matters as much as the tools.

01 / Usability

A technically valid solution made the mobile experience worse.

An initial bracket editor redesign introduced horizontal scrolling on mobile devices to preserve the desktop tournament geometry.

Manual testing revealed that this made the application less convenient to use. The original regional stacking behavior was restored and refined to make better use of the available screen space.

Engineering lesson

Technical correctness does not guarantee a better user experience.

02 / Risk management

A legacy database challenged a modern assumption.

The existing MySQL database used the MyISAM storage engine, which did not support the transactional rollback behavior assumed during testing.

A local validation exercise unintentionally overwrote existing bracket selections that could not be recovered through rollback. Subsequent testing required explicitly disposable test records. No production data-loss incident was reported.

Engineering lesson

Development safeguards must account for the actual capabilities of legacy infrastructure.

03 / Simplification

Sometimes the best improvement is removing functionality.

Existing competition settings allowed the associated tournament to be changed, creating potential inconsistencies with historical records and saved bracket selections.

Rather than introduce increasingly complex validation, the unnecessary reassignment capability was removed. Users could still select a tournament when creating a competition, while existing competition-to-tournament relationships became permanent.

Engineering lesson

Simplifying a workflow can improve both usability and data integrity.

04 / Business rules

A visible deadline is not enough.

A browser countdown communicates a submission deadline, but it does not independently enforce that business rule.

Centralized tournament lifecycle logic and server-side validation established consistent submission enforcement beyond the user interface.

Engineering lesson

Important business rules must be enforced where the underlying data is changed.

These discoveries were not interruptions to the engineering process.

They were part of it.

From development to production

Establishing a repeatable delivery workflow

Modernization extended beyond the application's user interface. GitHub became the canonical source-code repository, with changes organized into feature branches and reviewed through pull requests. The existing Heroku hosting environment was upgraded and connected to the repository, while the production database remained in place.

Automatic deployments were intentionally disabled during the core modernization, allowing reviewed changes to accumulate without exposing users to partially completed improvements.

The result was a more structured path from development to production — one that demonstrated its value almost immediately.

Modernized development and deployment architecture

The engineer, ChatGPT, and Cursor contribute to a local development environment running WAMP, PHP, and local MySQL. Reviewed changes move from a feature branch through a pull request to the main branch in GitHub. An approved deployment delivers the application to Heroku and does not replace the database. The Heroku application reads and writes existing production data in JawsDB MySQL, which keeps its seven tables and schema.

The development and deployment workflow was modernized while the existing production application architecture and database were retained.

The results

A modernized application. A stronger foundation for the future.

Within just 26 hours, including just four to five hours of hands-on engineering, Bracket Fan gained a modernized user experience, stronger application controls, and a repeatable development and deployment workflow.

The original application, tournament engine, scoring algorithms, and historical data remained intact.

Engineering by the numbers

A targeted modernization, not a replacement.

The Bracket Fan modernization was delivered through a series of focused, independently reviewable changes rather than a single comprehensive rewrite.

The repository history provides a measurable record of the engineering scope.

  • 29

    Files changed

  • 8,681

    Text line changes

  • 17

    Git commits

  • +6,653

    Insertions

  • −2,028

    Deletions

Distribution of changes

  • PHP application and templates 4,822
  • CSS stylesheets 3,221
  • Configuration and dependency metadata 546
  • Documentation 92
  • 7 of 7

    Database tables retained

  • 0

    Schema changes

  • 0

    Framework rewrites

Verified Git snapshot statistics. Core modernization only.

Approximately 93% of the text line changes occurred in PHP and CSS files, reflecting both application engineering and user experience modernization.

Repository statistics compare commit f63dece9 with b6b1cd1f. Text line changes were 6,653 added and 2,028 removed. They are not a count of newly written code. PHP changes include presentation templates. The Day 3 production hotfix is excluded.

The hands-on engineering estimate reflects the author's recollection rather than formal time tracking. The elapsed duration includes breaks and overnight hours.

These results describe this specific modernization project. They are not a controlled comparison against traditional software development, nor do they establish a universal productivity improvement or delivery timeframe.

Modernization outcomes

What the modernization delivered

Less recurring maintenance

Tournament-specific homepage code updates eliminated through database-driven content.

A better user experience

Modernized desktop and mobile interfaces with clearer information, navigation, and application feedback.

Stronger application controls

Improved validation, authorization, submission enforcement, and protection of historical data relationships.

More maintainable software

Structured source control, incremental engineering, and a repeatable production release process.

All while preserving what already worked.

The original application, tournament engine, scoring algorithms, database schema, and historical records remained intact.

Engineering judgment

Knowing what not to change.

A successful modernization does not require addressing every possible improvement in a single release.

Further database modernization, tournament administration improvements, and additional application controls were deliberately deferred.

The objective was to deliver meaningful improvements without introducing unnecessary risk.

Those opportunities can now be addressed through the more maintainable development and deployment process established during the modernization.

Beyond Bracket Fan

The same engineering approach applies to business workflows.

While Bracket Fan is a tournament application, its evolution is familiar across many organizations. A manual process becomes a spreadsheet. A spreadsheet becomes a business-critical tool. An internal application accumulates years of specialized knowledge.

  1. Manual process

  2. Spreadsheet workflow

  3. Business-critical software

Eventually, the tools surrounding that knowledge may no longer meet the organization's needs.

Whether the answer is workflow automation, custom software, or targeted modernization, the objective remains the same: find a better way to solve the problem.

The broader lesson

Better tools. Better workflows. Same DNA.

Your existing software may contain years of valuable business knowledge. Your spreadsheets may already capture important operational rules.

Modernization doesn't have to mean starting over.

Engineered Workflows helps businesses improve existing systems, automate repetitive work, and develop maintainable software through practical engineering and modern technologies.

What could be improved in your existing systems?

Explore consulting services View the portfolio