Blog

Upgrading to symfony 1.4

Symfony Live 2010 Paris Conference

« Back to the Blog

Categories

Feeds

feed Posts feed

comments feed Comments feed

symfony training
Be trained by symfony experts
Feb 15: Paris (What's new in 1.3 / 1.4 - English)
Feb 15: Paris (and Zend Framework Together - English)
Feb 15: Paris (Hosting Practices with symfony - English)
Feb 24: Paris (1.4 + Doctrine - Français)
Mar 04: Online (What's new in 1.3/1.4 - Français)
and more...

Archives

Creative Commons License This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.

As explained in the documentation, the symfony 1.4 version has the exact same feature set as symfony 1.3. The only difference between the two versions is how each supports backward compatibility with older symfony versions.

If you have a relatively "old" symfony project, odds are you started with symfony 1.0, and you have probably upgraded to symfony 1.1, then 1.2, and now 1.3.

Upgrading from symfony 1.3 to symfony 1.4 means that you must be sure that your project does not use any deprecated feature. The DEPRECATED tutorial gives you all the information you need to know, but it can be a bit boring to check everything by hand.

I have just added a new project:validate task to symfony 1.3 and 1.4 to help you figure out what you need to change for your project to work under symfony 1.4 smoothly.

The task lists all the files you need to change before switching to symfony 1.4. Be aware that this task is a just "glorified regular expression" and as such, it might give you many false positives. Also, it cannot detect everything, so it is just a tool that helps you identifying possible problems, not a magic tool. You still need to read the DEPRECATED tutorial carefully.

Try the new task on your projects today, and see how much work you still need to do to be able to upgrade your projects to symfony 1.4.

Comments comments feed

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.