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

Leasewebs Labs:
Painless (well, less painful) migration to Symfony2
Dec 23, 2011 @ 17:02:12

Stefan Koopmanschap has written up an article on the Leaseweblabs.com blog about migrating a Symfony 1 application to Symfony2 in a (slightly) less painful way that making the move all at once.

It is much easier to do a gradual migration. Start with one part of your application, and bit by bit migrate your logic and application. The traditional way of doing such migrations is to create a new project and have parallel development on the old and the new version of the application. The problem with this, though, is that when you make a change to your old application, you have to make the same change in the new codebase, essentially doubling the amount of work for each feature you need to implement. [...] You could wrap your old application into your Symfony2 application, and have different parts of your application be handled by different versions of your codebase.

With the help of a bundle he created, IngewikkeldWrapperBundle that handles the rerouting of your requests based on where the requested resource exists (in the Symfony 1 or 2 codebase).

tagged: symfony2 migrate codebase bundle painless

Link:

PHPEverywhere:
My experience moving to PHP5
Dec 04, 2006 @ 14:22:00

In his new post on PHPEverywhere today, John Lim shares some of the experiences he's had so far in making the move up from PHP 4 to PHP 5 in his applications.

The transition was relatively painless. [...] What's nice about PHP5 is that it caught some errors that have been lingering in our code: PHP5 no longer allows a function to be defined twice, and some basic variable referencing errors that we missed previously.

They made the move to PHP5 for the latest versions of their applications, but have still stuck with the legacy, PHP4 versions for the time being to give customers a buffer period to make the move themselves. He also mentions changes to the way they make Ajax calls. John is a lead developer for both the ADOdb and PHPLens projects.

tagged: upgrade php4 php5 experience painless phplens adodb upgrade php4 php5 experience painless phplens adodb

Link:

PHPEverywhere:
My experience moving to PHP5
Dec 04, 2006 @ 14:22:00

In his new post on PHPEverywhere today, John Lim shares some of the experiences he's had so far in making the move up from PHP 4 to PHP 5 in his applications.

The transition was relatively painless. [...] What's nice about PHP5 is that it caught some errors that have been lingering in our code: PHP5 no longer allows a function to be defined twice, and some basic variable referencing errors that we missed previously.

They made the move to PHP5 for the latest versions of their applications, but have still stuck with the legacy, PHP4 versions for the time being to give customers a buffer period to make the move themselves. He also mentions changes to the way they make Ajax calls. John is a lead developer for both the ADOdb and PHPLens projects.

tagged: upgrade php4 php5 experience painless phplens adodb upgrade php4 php5 experience painless phplens adodb

Link:


Trending Topics: