Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Modernizing Legacy Applications in PHP

    Modernizing Legacy Applications in PHP

    Paul M. Jones · 2014

    This book will show you how to modernize your page-based, include-oriented PHP application by extracting and replacing its legacy artifacts. We will use a step-by-step approach, moving slowly and methodically, to improve your application from the ground up. Each completed step in the process will keep your codebase fully operational with higher quality. Please note that this book is about modernizing in terms of practice and technique, and not in terms of tools. We are not going to discuss the latest, hottest frameworks or libraries. Most of the very limited code we do add to your application is specific to this book. When we are done, you will be able to breeze through your code like the wind. Your code will be fully modernized: autoloaded, dependency-injected, unit-tested, layer-separated, and front-controlled.

    Software EngineeringProgramming
    Open LibraryAmazon
    Stats for nerds
    6recommend
    8mentions
    6people
    2014–2022years
    75% recommend25% neutral

    Mentions per year

    201420152016201720182019202020212022

    What Hacker News says

    1. pmjonesDec 2022
      It's PHP, but my book [Modernizing Legacy Applications in PHP](https://leanpub.com/mlaphp) may help -- deals with code improvement, especially the organization of that code. The examples are taken from a real codebase, though the names have been changed to protect the guilty. The book is still free, so nothing lost if it's not what you're looking for.

      Good luck!

      thread
    2. elviejoSep 2022
      First read the book: Modernizing Legacy Applications In PHP Get your code under control in a series of small, specific steps By Paul M Jones https://leanpub.com/mlaphp
      thread
    3. thunderrabbitOct 2020
      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

      It gives examples and goes bit by bit through the process of organizing code.

      I'm using its suggestions along with a static checker called Phan, which I chose because it attempts to "prove incorrectness rather than correctness."

      https://github.com/phan/phan

      thread
    4. francislavoieOct 2020
      There's also "Modernizing Legacy Applications in PHP": https://leanpub.com/mlaphp (but leanpub seems to be down right now lol)
      thread
    5. carbocationDec 2017
      I've worked with Paul Jones in the past and he has actually modernized one of my own legacy PHP codebases. He wrote down his experiences and advice in "Modernizing Legacy Applications in PHP": https://leanpub.com/mlaphp

      It might be worth your time. (Edit: noir_lord also recommended the same book in this thread.)

      thread
    6. nicks451Oct 2014
      Are you already using a framework? If so which one? If not, I would check out the book Modernizing Legacy Applications In PHP by Paul M. Jones http://bit.ly/1FQjpby
      thread

    Related

    Cover of Working effectively with legacy code
    2008–2026

    Working effectively with legacy code

    Michael C. Feathers
    186 recommend · 315
    Cover of Modern PHP
    2015–2016

    Modern PHP

    Josh Lockhart
    1 recommend · 2
    Cover of Refactoring
    2007–2026

    Refactoring

    Martin Fowler
    94 recommend · 179
    Cover of The architecture of open source applications
    2011–2026

    The architecture of open source applications

    Amy Brown
    204 recommend · 257
    Cover of PHP objects, patterns, and practice
    2007–2025

    PHP objects, patterns, and practice

    Matt Zandstra
    4 recommend · 6
    Cover of Advanced programming in the Unix environment
    2008–2025

    Advanced programming in the Unix environment

    W. Richard Stevens
    100 recommend · 153
    Cover of The UNIX programming environment
    2007–2026

    The UNIX programming environment

    Brian W. Kernighan
    86 recommend · 215
    Cover of Extending and Embedding PHP
    2009–2012

    Extending and Embedding PHP

    Sara Golemon
    2 recommend · 2