Search code examples
phpsymfony1migration

How painless is it to upgrade Symfony applications from 1.1 to 1.2


I am currently developing a system on a server running PHP version 5.1.6 thus I am forced to use Symfony 1.1 in the current environment. I am planning to migrate the application from 1.1 to 1.2 in the somewhat near future and I was wondering if anyone has any experience with this? I have attempted to migrate a system from 1.0 to 1.1 and that was a major pain in the rear.

How has it been for anyone out there migrating from Symfony 1.1 to 1.2?


Solution

  • For me, migration to 1.2 was fairly painless. The upgrade script should do all hard work.

    The biggest problem will be migrating to propel 1.3 if you have used 1.2 ( default with symfony 1.0.x and 1.1.x). If you were using propel 1.3 before ( with sfPropelPlugin) or Doctrine there shouldn't be any problems.

    Another one will be porting admin generated modules to new admin generator, but in 1.2 the oldones still work for now.

    Those listed above are the biggest changes in 1.2.

    And I love 1.2 for it has lots of new cool stuff ( REST routing, new admin generator, some minor fixes etc.)