DeepRead
Cover of Modernizing Legacy Applications in PHP

Modernizing Legacy Applications in PHP

Paul M. Jones · 2014

Programming and computer science › Testing and legacy code

#5,769 most recommended

About the book

A practical guide to improving a large, existing PHP application that has grown without clear structure. It covers the tools and techniques involved, including testing with PHPUnit, dependency injection, autoloading and Composer, and code organization. The examples come from a real project. Legacy PHP code can be brought under control without a full rewrite, through a sequence of small, verifiable changes. The author's central claim is that the first priority is to add tests and establish a safe baseline before restructuring. Once that is in place, the code can be reorganized step by step, with dependencies made explicit and responsibilities separated, so that the application becomes easier to maintain and extend.

Written by Claude from what it knows of this book.

What Hacker News says 100% recommend · 0% critical

024201420162018202020222022 peak · 4
This bookAverage book in Testing and legacy code

In the commenters’ own words

  • "I’ve seen things you people wouldn’t believe. Codebases on fire, edited in production. I watched websites uploaded from development through an FTP gate. All…

    pmjones · 2022 · in Refactoring Large Codebases

  • While not free, Paul M Jones book Modernizing Legacy Applications in PHP has really helped me get control of a large old codebase. https://leanpub.com/mlaphp…

    thunderrabbit · 2020 · in PHP 8: Before and After

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2014
ISBN
9781312100633
Editions known
2 at Open Library
Open Library
OL29080238W

Computer ProgrammingDependency InjectionObject-Oriented ProgrammingPHP (Computer programming language)PHPUnitSoftware refactoringUnit Testing

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Modern PHP
    Josh Lockhart · 2015 · recommended by 1 person · similar by subject and what people say about it
  • Working effectively with legacy code
    Michael C. Feathers · 2004 · recommended by 186 people · similar by subject and what people say about it
  • Refactoring
    Martin Fowler · 1999 · recommended by 94 people · similar by subject and what people say about it
  • PHP and MySQL Web development
    Luke Welling · 2003 · recommended by 5 people · similar by subject and what people say about it
  • Head first PHP & MySQL
    Lynn Beighley · 2008 · recommended by 3 people · similar by subject and what people say about it
  • Refactoring to Patterns
    Joshua Kerievsky · 2004 · recommended by 15 people · similar by subject and what people say about it
  • Clean Code
    Robert C. Martin · 2008 · recommended by 298 people · similar by subject and what people say about it
  • PHP objects, patterns, and practice
    Matt Zandstra · 2008 · recommended by 4 people · similar by subject and what people say about it
  • Kill It with Fire
    Marianne Bellotti · 2021 · recommended by 10 people · similar by subject and what people say about it
  • Object-oriented reengineering patterns
    Serge Demeyer · 2002 · recommended by 2 people · similar by subject and what people say about it
  • Building Scalable Web Sites
    Cal Henderson · 2006 · recommended by 14 people · similar by subject and what people say about it
  • Perl Medic
    Scott, Peter · recommended by 4 people · similar by subject and what people say about it
  • Release It!
    Michael T. Nygard · 2007 · recommended by 22 people · similar by subject and what people say about it
  • Effective JavaScript
    David Herman · 2012 · recommended by 20 people · similar by subject and what people say about it
  • The art of agile development
    James Shore · 2007 · recommended by 13 people · similar by subject and what people say about it
  • Growing object-oriented software, guided by tests
    Steve Freeman · 2010 · recommended by 43 people · similar by subject and what people say about it
  • Growing object-oriented software
    Steve Freeman · 2009 · recommended by 16 people · similar by subject and what people say about it
  • The Software Craftsman
    Sandro Mancuso · 2014 · recommended by 9 people · similar by subject and what people say about it
  • Test-driven JavaScript development
    Christian Johansen · 2011 · recommended by 4 people · similar by subject and what people say about it
  • The clean coder
    Robert C. Martin · 2011 · recommended by 53 people · similar by subject and what people say about it
  • Essential PHP Security
    Chris Shiflett · 2005 · recommended by 1 person · similar by subject and what people say about it
  • XUnit Test Patterns
    Gerard Meszaros · 2007 · recommended by 5 people · similar by subject and what people say about it
  • Test-driven development
    Kent Beck · 2002 · recommended by 30 people · similar by subject and what people say about it
  • Clean Architecture
    Robert C. Martin · 2017 · recommended by 47 people · similar by subject and what people say about it