Posts marked with “legacy code”

Department of Breaking Changes: Launching PHP 7 in a Highly Available Web World

by · May 9, 2019


For many legacy code bases, upgrading to the latest version of PHP 7 presents an opportunity not just to use the latest syntax and features, but to address technical debt and streamline infrastructure. In this article, I’ll share how in moving to PHP 7, the Digital Media team at NPR prepared to make the move […]


Migrating Legacy Web Applications to Laravel

by · March 4, 2019


Thanks to Taylor Otwell’s Laravel framework, PHP is reclaiming its rightful place as the go-to language for web application development. For those of us maintaining and developing applications using legacy frameworks, the grass certainly looks greener on Laravel’s side. In this article, I show how to do an in-place migration from a legacy framework to […]


The Workshop: The Road to 7.3, Part Two

by · February 5, 2019


Last month we explored the world of static analyzers Phan and PHPStan to find compatibility issues and several other common issues in our PHP Easy Math code base. This month, we’re going to review our code base and implement new and recent features from PHP 7.x


Episode 13 – PHP 7.3

by · October 4, 2018


Fresh off of hosting WavePHP in San Diego, Eric van Johnson and John Congdon put the finish touches on the latest episode.They talk about stickers, forthcoming PHP 7.3, finding a job, and more. Sammy Kaye Powers joins to discuss the challenges in upgrading legacy applications.


Magniphpicent 7.3 – September 2018

by · September 4, 2018


In this issue: Xdebug, Freelancing, Parsing text, MySQL Generated Columns, Gitflow, PhpStorm, and more.


Upgrading Old Legacy Apps to PHP 7 and Beyond

by ·


There are many PHP 7 upgrade paths one could take. The sheer number of options can be paralyzing. Certainly, there are better ways than upgrading your production server to PHP 7.2 and hoping for the best (in fact, this is not a recommended upgrade path). If upgrading a legacy PHP 5.x application to PHP 7 […]


Moving a Monolith to AWS

by · May 1, 2018


Cloud technology can give applications greater flexibility, but it can be more complicated to maintain, especially for a monolithic legacy application. However, with a few tweaks, even older codebases can run in the cloud. Let’s take a look at how an older application which needs to scale can benefit from running in the cloud.


Up to My Eyeballs in Technical Debt!

by ·


In this era of “move fast and break things,” organizations often fail to consider the long-term costs of decisions made for short-term gains. When projects cut corners, lack documentation and/or tests, and are regularly changing it’s not uncommon for them to quickly become too expensive to maintain or, at the very least, technical pits of […]


Episode 8 – Long Running PHP

by · March 27, 2018


Eric and John go over the March features about writing daemons with PHP, Linux containers beyond Docker, accessibility, code reviews, and interview Chris Pitt, about the community in South Africa and his article on Evolving PHP. Oscar shares his experience recently upgrading an application to PHP 7.


Generating an Autoloader for a Legacy PHP Codebase

by · September 6, 2017


If you’ve inherited a legacy code base, you may find it does not use an autoloader and has an idiosyncratic directory and file hierarchy for its Classes, Interfaces or Traits. Worse yet, it might not use name spaces consistently or at all. So you can’t use a PSR-4—or even PSR-0—autoloader with your code. Well, why […]