Originally aired on
April 15th, 2015
We discuss practical ways of dealing with legacy codebases and address the question of, "to rewrite or to refactor"? We also talk about how we should manage client expectations when working with a legacy codebase. And finally we discuss some general strategies for refactoring a codebase to good, clean, modern PHP.
Paul mentions his book. The first few steps in his process are:
He also brings up Michael Feathers - Working Effectively with Legacy Code.
There are tools that can help:
Thank you, Matthew Weier O’Phinney for your great work on PSR-0 & PSR-7. A $50 Amazon gift card from Laracasts is on its way to you.
Thank you Chris Shaw for authoring the show notes for this episode!
If you'd like to contribute show notes and totally get credit for it, check out the show-notes repo!