Legacy modernization case study

Legacy PHP to Node.js Rebuild and Shopify Modernization – Frans Cake and Candy

Gingerbread cookies and a gingerbread house on a wooden surface - Legacy PHP to Node.js Rebuild and Shopify Modernization
Quick Answer

Quick Summary

Frans Cake and Candy ran its business operations on a custom PHP and CodeIgniter backend that was difficult to scale and costly to maintain, alongside an outdated Shopify theme. WebDesk Solution handled this legacy system modernization by rebuilding the backend with Node.js and React.js, upgrading the theme, and adding role-based access control, audit logging, and Eventbrite event management. Results: a 40-50% improvement in backend performance after migrating to Node.js and 30-35% faster storefront load times, especially on mobile.


The Context

Overview

Frans Cake and Candy is a specialty retailer serving bakers, decorators, and culinary creatives. WebDesk Solution had earlier designed and redeveloped its Shopify storefront to help it move into eCommerce with a brand-aligned, customer-friendly online experience.

While Shopify powered the storefront, core business operations ran on a custom backend built years ago with PHP and CodeIgniter. The system was difficult to scale, costly to maintain, and resistant to new feature development, and performance constraints were affecting operational efficiency.

At the same time, Shopify itself had evolved. The client’s theme was built on an older architecture, limiting access to modern performance improvements, UX enhancements, and native Shopify capabilities. Leadership recognized that incremental fixes were no longer sufficient. What was needed was a full modernization-one that addressed both the aging backend and the storefront experience.

WebDesk Solution recommended a legacy application modernization: rebuilding the custom system with Node.js and React.js and upgrading the Shopify theme to the latest architecture. The goal was to support long-term growth, governance, and operational excellence.

Frans Cake and Candy Shopify storefront homepage mockup with cake supplies and category tiles - Legacy PHP to Node.js Rebuild and Shopify Modernization
Technical Approach

Approach

From the outset, WebDesk Solution approached this engagement with the mindset that legacy modernization is as much about risk management and business continuity as it is about technology. The goal was to replace outdated systems without disrupting daily operations, customer experience, or revenue flow.

We began with a deep technical discovery phase, analyzing the existing PHP + CodeIgniter system in detail. This included mapping business logic, data dependencies, integrations, performance bottlenecks, and operational workflows. In parallel, we reviewed the Shopify storefront-evaluating theme limitations, customizations, and compatibility with Shopify’s latest standards.

Based on this assessment, we designed a decoupled, API-first architecture, selecting Node.js for backend services and React.js for dynamic, maintainable user interfaces. This stack was chosen for its scalability, performance, developer ecosystem, and long-term viability. The new architecture allowed Shopify to remain the commerce engine while the custom system evolved independently-reducing coupling and future risk.

To minimize disruption, we implemented dedicated staging environments for both the custom system and Shopify. Development, testing, and validation occurred incrementally, allowing each feature and integration to be verified before impacting live operations. Data migration was carefully planned and executed to preserve accuracy, history, and integrity.

In parallel, the Shopify theme was upgraded to the latest version. Existing customizations were refactored rather than simply re-applied, improving performance, accessibility, and maintainability while preserving brand identity. Extensive QA, performance testing, and security validation were followed before a controlled go-live process.

This disciplined, phased approach ensured a smooth transition-transforming the platform without compromising stability.

Project Challenges

What challenges did Frans Cake and Candy face before moving from a legacy PHP backend to Node.js and React?

Frans Cake and Candy ran its business operations on a custom PHP and CodeIgniter backend that had become difficult to scale, costly to maintain, and resistant to new features, while its Shopify theme sat on an older architecture. Four problems followed: a legacy backend that limited growth, a fragile outdated storefront with manual data sync, performance bottlenecks as traffic grew, and no user roles or activity logging.

01

Frans Cake and Candy’s custom PHP and CodeIgniter backend had become hard to scale and maintain

Frans Cake and Candy relied on a custom-built backend system developed using PHP and CodeIgniter. While functional in its early years, the platform had accumulated significant technical debt over time. Tightly coupled business logic, outdated dependencies, and limited modularity made the system increasingly difficult to scale and maintain. As order volumes and operational complexity grew, performance degraded and development velocity slowed. The aging technology stack also posed long-term maintenance and hiring risks, threatening the platform’s ability to support future growth.

02

Frans Cake and Candy’s outdated Shopify theme and manual data sync left its storefront fragile

The existing Shopify theme was built on an older architecture that limited access to Shopify’s latest performance enhancements, UX improvements, and native capabilities. Customizations were fragile and difficult to maintain, increasing the risk of breakage during updates. Additionally, the legacy backend was not designed with API-first principles, resulting in manual data synchronization, operational inefficiencies, and inconsistent data flow between systems.

03

Frans Cake and Candy’s growing traffic and transaction volumes exposed performance bottlenecks across its connected systems

As traffic and transaction volumes increased, performance bottlenecks across interconnected systems began impacting operational efficiency and reliability. Fixing performance without regressions or downtime was difficult because the platform was mission-critical and its systems depended on each other.

04

Frans Cake and Candy’s administrative users had similar access levels and no activity logging

The legacy system lacked structured user roles, permission controls, and activity logging. All administrative users had similar access levels, increasing the risk of accidental changes, security issues, and lack of accountability. Additionally, event management relied on Eventbrite without centralized internal controls, making updates inefficient and increasing the risk of inconsistencies.

Performance Metrics

Key Metrics

Revenue - Frans Cake and Candy
8.38%
Revenue
Visits - Frans Cake and Candy
40%
Visits
Orders - Frans Cake and Candy
13%
Orders
Conversion Rate - Frans Cake and Candy
89%
Conversion Rate

Similar project?

Running an aging PHP backend that is hard to scale?

Explore Node.js Development Services →

Solution Delivered

How did WebDesk Solution solve Frans Cake and Candy’s legacy PHP to Node.js modernization challenges?

WebDesk Solution answered each challenge with one matching piece of work: a Node.js and React.js platform rebuild, a Shopify theme modernization with an API-first integration, performance optimization with stability testing, and role-based access control with audit logging and centralized event management.

01

WebDesk Solution rebuilt the legacy PHP backend as a decoupled Node.js and React.js platform

WebDesk Solution re-engineered the core system using a modern, decoupled architecture powered by Node.js and React.js. Business logic was modularized, technical debt was eliminated, and the platform was redesigned for scalability, maintainability, and enterprise-grade performance. A phased migration strategy with dedicated staging environments ensured data integrity, reduced risk, and enabled a smooth transition without disrupting daily operations.

We started from a deep analysis of the existing PHP and CodeIgniter system, then designed a decoupled, API-first architecture, with Node.js for backend services and React.js for the user interfaces. Our team kept Shopify as the commerce engine so the custom system could evolve independently of the storefront.

Key deliverables:

  • Technical discovery: the PHP and CodeIgniter system was analyzed for business logic, data dependencies, integrations, performance bottlenecks, and operational workflows.
  • Decoupled architecture: the core system was re-engineered on Node.js and React.js, with Shopify remaining the commerce engine.
  • Modular business logic: tightly coupled logic was split into modules for scalability and maintainability.
  • Technology split: Node.js runs the backend services and React.js builds the dynamic, maintainable user interfaces.
  • Result: the legacy backend was replaced by a platform redesigned for scalability and maintainability, with Shopify kept in place.
Shopify, Node.js and React icons around a laptop over a dimmed storefront - Legacy PHP to Node.js Rebuild and Shopify Modernization

02

WebDesk Solution upgraded the Shopify theme and connected it to the new backend through an API-driven integration layer

WebDesk Solution upgraded the Shopify theme to the latest architecture, refactoring existing customizations to improve performance, accessibility, and user experience while preserving brand consistency. An API-driven integration layer was introduced to enable real-time, reliable data synchronization between Shopify and the new backend-eliminating manual workflows and ensuring scalable, future-proof system connectivity.

We delivered the Shopify theme upgrade and the Shopify API integration together, so the upgraded storefront and the new Node.js backend exchange data through one API-driven layer instead of manual synchronization. The latest theme architecture gives the storefront access to Shopify’s current performance improvements, UX improvements, and native capabilities, which the older architecture had blocked.

Key deliverables:

  • Theme update: the Shopify theme was moved to the latest version, with brand consistency preserved.
  • API-driven integration layer: Shopify and the new backend synchronize data in real time.
  • Data flow: manual data synchronization between the legacy backend and Shopify was replaced by that integration layer.
  • Result: manual synchronization workflows were eliminated and the two systems share a reliable, scalable connection.
API integration graphic linking Eventbrite, Calendar, Galleries, Classes, Featured Creation Form and User Management icons - Legacy PHP to Node.js Rebuild and Shopify Modernization

03

WebDesk Solution optimized backend and frontend performance and tested the platform for stability

WebDesk Solution optimized backend services and frontend workflows by improving request handling, streamlining processes, and reducing unnecessary processing overhead. Extensive quality assurance, load testing, and post-deployment monitoring were conducted to ensure platform stability. The result was a resilient, high-performance system capable of supporting enterprise-scale traffic and peak operational demands.

We coordinated each change across the platform’s dependencies and tested extensively, aiming to improve performance without introducing regressions or downtime on a mission-critical commerce platform. Each optimization was verified before it reached live operations.

Key deliverables:

  • Request handling: backend services and frontend workflows were optimized by improving how requests are handled.
  • Leaner processing: processes were streamlined and unnecessary processing overhead was reduced.
  • Quality assurance: extensive QA, load testing, and post-deployment monitoring supported platform stability.
  • Risk control: changes were coordinated across dependencies and tested extensively to avoid regressions and downtime.
  • Result: a 40-50% improvement in backend performance after migrating to Node.js and 30-35% faster storefront load times, especially on mobile.
Five benefit icons: scalable architecture, faster load times, optimized APIs and integrations, enhanced security and governance, reduced maintenance costs - Legacy PHP to Node.js Rebuild and Shopify Modernization

04

WebDesk Solution implemented role-based access control, audit logging, and centralized event management

WebDesk Solution implemented a granular role-based access control (RBAC) system, enabling secure delegation of responsibilities and improved governance. A comprehensive activity logging and audit trail module provided full operational visibility and accountability. To streamline event operations, a centralized Event Management module was developed and integrated with Eventbrite via secure APIs, with real-time updates delivered through WebSockets and Server-Sent Events (SSE).

We built these controls to replace the legacy system’s lack of structured user roles and activity logging, and to bring event updates under internal control instead of relying on Eventbrite alone.

Key deliverables:

  • Role-based access control: a granular RBAC system enabled secure delegation of responsibilities and improved governance.
  • Audit trail: a comprehensive activity logging module provided operational visibility and accountability.
  • Event Management module: a centralized module was developed and integrated with Eventbrite via secure APIs.
  • Result: administrative access is delegated by role, activity is logged, and event operations run through one centralized module.
Access control, audit logging and event management labels over a classes page on a laptop - Legacy PHP to Node.js Rebuild and Shopify Modernization

Same storefront problem?

Is an older Shopify theme limiting your store?

Explore Shopify Development Services →

Outcomes

What business results followed Frans Cake and Candy’s Node.js rebuild?

40-50%

Improvement in backend performance after migrating to Node.js

30-35%

Faster storefront load times, especially on mobile

Significant reduction in manual operations through API-driven integrations. Improved security and governance via RBAC and activity logs. Faster feature release cycles, reducing time-to-market. Enhanced customer experience with modern Shopify UX and real-time event updates. Lower long-term maintenance costs and reduced dependency on legacy skill sets. Enterprise-ready foundation capable of supporting growth, new teams, and future integrations.

Two hands with pens pointing at printed charts and a target - Legacy PHP to Node.js Rebuild and Shopify Modernization
Project Conclusion

Conclusion

The Frans Cake and Candy project shows that a backend can be modernized in layers without replacing the storefront. Shopify stayed the commerce engine while the PHP and CodeIgniter system was rebuilt as a decoupled Node.js and React.js platform, connected to Shopify through an API-driven integration layer. The Shopify theme moved to the latest version, and role-based access control, audit logging, and a centralized Event Management module gave the business structured user roles, activity visibility, and one place to manage events. For any retailer with a similar backend, the same order applies: map the legacy system first, keep the commerce engine in place, and connect the pieces through APIs.

Project Q&A

Questions About Frans Cake and Candy’s Legacy to Shopify Modernization

Why was Frans Cake and Candy’s PHP and CodeIgniter backend rebuilt in Node.js instead of patched?
WebDesk Solution recommended the rebuild because incremental fixes were no longer enough. The custom PHP and CodeIgniter backend carried technical debt and tightly coupled logic, and it had speed issues. Rebuilding it in Node.js, with React.js for the interfaces, was also meant to minimize the monthly cost of managing the server.
Why did Frans Cake and Candy’s storefront stay on Shopify while the backend changed?
The new architecture was decoupled and API-first, so Shopify could remain the commerce engine while the custom Node.js system evolved independently of it. That separation reduced coupling and future risk, and it let the backend be replaced without moving the storefront to another platform.
How was Frans Cake and Candy’s new system tested and approved before it went live?
WebDesk Solution built the entire new system in its own sandbox environment first and migrated the existing data into it. Frans Cake and Candy then received a testing link to review the work. Only after the client confirmed it was the system moved to the live environment.
Which technologies power Frans Cake and Candy’s rebuilt backend and storefront?
Node.js runs the backend services and React.js builds the user interfaces, with Shopify as the commerce engine on a theme upgraded to its latest version. An API-driven integration layer connects Shopify to the new backend, and a custom Event Management module connects the system to Eventbrite.
What did the technical discovery cover in Frans Cake and Candy’s modernization?
Discovery looked at two things. In the custom PHP and CodeIgniter system, WebDesk Solution mapped business logic, data dependencies, integrations, performance bottlenecks, and operational workflows. In the Shopify storefront, the team checked theme limitations, customizations, and compatibility with Shopify’s latest standards.
How does Frans Cake and Candy’s Event Management module work with Eventbrite?
WebDesk Solution built a custom Event Management module and connected it to Eventbrite through the Eventbrite API. Events are now managed centrally inside the new system, replacing a setup where event management relied on Eventbrite without centralized internal controls, which made updates inefficient.
Who can change what in Frans Cake and Candy’s custom system?
The custom system has multiple user roles, and each role’s capabilities decide which modules a person can manage. This replaced a setup where all administrative users had similar access levels. An audit trail module also logs activity in the system, giving operational visibility and accountability.
What did the older Shopify theme prevent Frans Cake and Candy from using?
The older theme architecture limited access to Shopify’s latest performance enhancements, UX improvements, and native capabilities. Its customizations were fragile and hard to maintain, which risked breakage during updates. The theme was upgraded to the latest version, and the storefront stayed on Shopify.
Ice cream cone with melting drips and sprinkles, a 3D render - Legacy PHP to Node.js Rebuild and Shopify Modernization

Next Step

Ready to Modernize Your Legacy Commerce Stack?

Whether you need a PHP-to-Node migration, a Shopify theme upgrade, or an enterprise-grade RBAC and audit-logging layer – the right modernization turns legacy liabilities into a strategic, scalable foundation.

USA
New York
98 Cutter Mill Rd, Ste 466, Great Neck, NY 11021
Canada
Toronto
150 King Street W, Ste 200, Toronto, ON M5H 1J9
Canada
Hours
Mon – Fri 9:00 AM – 6:00 PM