News Feed
Jobs Feed
Sections




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

Reddit.com:
Moving a large existing project onto a framework
February 01, 2013 @ 12:18:13

On Reddit.com a discussion has started up around a question asked about legacy application migration - things to consider when moving a large existing project onto a framework.

I am working for an online store that has a codebase which has spanned dozens of developers and has been constantly upgraded. The codebase has its problems but it is not too bad. I would love to put it onto a framework like laravel and systematically start cleaning up as I go, but I am unsure if it will work trying to shove a framework into the current site. Has anyone done something similar, it would take me months to rewrite the whole system, has anyone done something like this successfully? Any advice would be appreciated.

There's lots of good recommendations made in the comments including:

  • "If it were me, I'd take a step back before trying to build on top of a framework. I'd start by refactoring the existing codebase out into PSR-0 compliant namespace."
  • "In my experience you only rewrite an entire application if what you have has become too expensive to maintain. At this point it is actually more cost effective to rewrite it using a framework."
  • "We have recently moved our website to the Symfony2 framework at my company [...] it definitely is not a one programmer job."
  • "Whatever you do, replace one bit at a time. And always strive to de-couple code."

Read up on the rest of the responses or add your own to the post.

0 comments voice your opinion now!
framework legacy application opinion advice migrate


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Contributing To Zend Framework 2.0 Is Free! Hurry Before This Offer Ends!

php|architect: Stop Telling People to Optimize, and Start Teaching Them to Program

International PHP Magazine: Poll Question: Which Is Your Favourite PHP Framework?

Stefan Koopmanschap: How to Get the Most Out of a Conference

Community News: CakePHP 1.2 Release (and a New Site Design)


Community Events











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


facebook code package application symfony2 release opinion hack framework composer podcast introduction language install security component unittest overview threedevsandamaybe hhvm

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