News Feed
Sections




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

NetTuts.com:
Refactoring Legacy Code Part 1 - The Golden Master
March 24, 2014 @ 12:56:32

NetTuts.com has kicked off a new series of posts looking to help you get a handle on that big pile of legacy code you're having to work with. In part one of their "Refactoring Legacy Code" series they talk about the "Golden Master", a method of testing all the things before starting on changes.

Old code. Ugly code. Complicated code. Spaghetti code. Jibberish nonsense. In two words, Legacy Code. This is a series that will help you work and deal with it. In an ideal world, you would write only new code. You would write it beautiful and perfect. You would never have to revisit your code and you will never have to maintain projects ten years old. In an ideal world... Unfortunately, we live in a reality that is not ideal. We have to understand, modify and enhance ages-old code. We have to work with legacy code.

They start with a definition of what "legacy code" is and link to a codebase they'll guide you through for refactoring. They talk some about understanding the code and scanning through it to get an overall feel for it. They recommend some testing techniques (including the Golden Master) and include the code to create it and some of the sample output.

0 comments voice your opinion now!
tutorial refactor legacy code series part1 goldenmaster

Link: http://code.tutsplus.com/tutorials/refactoring-legacy-code-part-1-the-golden-master--cms-20331

blog comments powered by Disqus

Similar Posts

Michael Girouard's Blog: Rolling Your Own MVC: The View

Klaus Graefensteiner's Blog: Climbing the CodeIgniter PHP MVC framework learning curve

NETTUTS.com: How to Write a "Most Popular By Views" WordPress Plugin

Zend Developer Zone: Zend_Tool for the Developer - Part 2

PHPBuilder.com: Using XML, Part 5 - SOAP and WSDL


Community Events





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


developer configure community interview wordpress unittest list api application threedevsandamaybe release code introduction series podcast language install library symfony laravel

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