News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Justin Carmony:
Refactoring or Rebuilding Working with Legacy Code
August 31, 2012 @ 08:23:24

In this post to his site, Justin Carmony shares some of his experience in working with a legacy code base and shares some of the steps he's taking in his own work to modernize it.

There is [still] one big piece written in a less than ideal system. Its still PHP, but much more hacked together. It is our backend CMS system for controlling the website. It is painful to use, and we get many complaints all the time about it. [...] on Twitter, I saw a link for a talk Paul M. Jones gave at the Nashville PHP Usergroup. It was entitled: "It Was Like That When I Got Here: Steps Toward Modernizing a Legacy Codebase." I couldn't think of a better title for that talk, nor a better talk to listen to at this very moment.

He mentions the steps he taking to further advance his own project towards a better, non-legacy state including an audit of the current functionality and getting input from users as to which features give them the most pain.

Using these lists to decide what to refactor, we can get the biggest gains for the least amount of work. If we were to rebuild, we would get the smallest gains (if any) of barely having something functional with the greatest effort.
0 comments voice your opinion now!
refactor legacy code process audit user feature


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: AJAX and PHP Part 2 - XML Communication/Processing

NetTuts.com: Building Advanced Email Features With IMAP and PHP

Zend Developer Zone: Zend_Acl / Zend_Auth example scenario

Codeacy Blog: Your Greatest Code Quality Threats and How to Solve Them

Blue Parabola Blog: Magento Feature Analysis Series, Part 4: Catalog Management Offering


Community Events

Don't see your event here?
Let us know!


community development interview conference series laravel5 video opinion podcast introduction psr7 unittest laravel library api voicesoftheelephpant release extension language framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework