Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Depends on the App / Site... (Score 0) 112

> Since 1999, I've written a huge amount of PHP code, for dozens of applications and websites. Most of it has been continually updated, and remains active and in-production, in one form or another... Is there any benefit to migrating this codebase to a more modern PHP framework, like Laravel?

Are these applications and websites maintained by anyone other than you? There is a lot of talk in the comments of just leaving it as is, and I would agree if these are relatively simple projects that doesn't need to be maintained by anyone than you. As soon as you introduce teams of people that need to generate new features for a business, this idea of building it from the ground up fails pretty quickly. You will never be able to provide the same level of flexible and robust solutions a framework can, nor will you be able to match the time take to develop a new feature because you cannot leverage any off the shelf solutions. The people that are tasked with maintaining your home built app/website are going to spend a lot of time just keeping all the duct tape and bailing wire from collapsing. I know because I've been doing just that for about half of my 25 year career.

> And is there an easy and minimally intrusive way this can be done en-masse, across dozens of applications and websites?

Not really, no. If your home grown solution just intertwines PHP with HTML like its 1999, then you're only path forward is to start porting all of it. If you have some semblance of routing and data / view separation, you can usually bootstrap the legacy app with the framework and slowly migrate the parts you need to actively touch into the new structure and gradually get to a cut-over point.

> Or at this point should I just stick with vi?

This is personal preference, but I find professional tools produce professional results. You are just not going to get the level of static analysis and debugger support from vi. JetBrains PhpStorm is pretty good but it costs a fair bit.

Slashdot Top Deals

To program is to be.

Working...