Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Migrating from symfony1.4 to symfony 2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gopi Krishna M  
View profile  
 More options Jul 17 2012, 7:57 am
From: Gopi Krishna M <mgo...@gmail.com>
Date: Tue, 17 Jul 2012 17:27:10 +0530
Local: Tues, Jul 17 2012 7:57 am
Subject: Migrating from symfony1.4 to symfony 2

Hi..

We have a web app built on symfony1.4 and are thinking of migrating to
symfony 2 primarily to make sure we are not on an obsolete platform and get
the goodness of  symfony 2 : speed, doctrine2.0, bundles etc.

Is there a good way of cohosting both 1.4 and 2.0 (using the same backend
database) and migrate parts of the app in phases? Does anybody have any
experiences to share in migrating from 1.4 to symfony 2?

thanks
gopi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Parijat Kalia  
View profile  
 More options Jul 17 2012, 11:54 am
From: Parijat Kalia <kaliapari...@gmail.com>
Date: Tue, 17 Jul 2012 08:54:06 -0700
Local: Tues, Jul 17 2012 11:54 am
Subject: Re: [symfony1] Migrating from symfony1.4 to symfony 2

From what I understand, symfony 2.0 is written from the ground up. You can migrate between other symfony 1.x versions. Not necessarily from 1.4 to. 2.0.

Sent from my iPhone

On Jul 17, 2012, at 4:57 AM, Gopi Krishna M <mgo...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Robinson  
View profile  
 More options Jul 17 2012, 12:31 pm
From: Matt Robinson <m...@lazycat.org>
Date: Tue, 17 Jul 2012 17:31:33 +0100
Local: Tues, Jul 17 2012 12:31 pm
Subject: Re: [symfony1] Migrating from symfony1.4 to symfony 2
On 17 Jul 2012, at 12:57, Gopi Krishna M <mgo...@gmail.com> wrote:

> Hi..

> We have a web app built on symfony1.4 and are thinking of migrating to symfony 2 primarily to make sure we are not on an obsolete platform and get the goodness of  symfony 2 : speed, doctrine2.0, bundles etc.

> Is there a good way of cohosting both 1.4 and 2.0 (using the same backend database) and migrate parts of the app in phases? Does anybody have any experiences to share in migrating from 1.4 to symfony 2?

The simple advice is "don't", but I'd be interested in your experiences if you go ahead with this anyway.

What you'll want to avoid is having two overlapping frameworks - you'll have trouble with session management, you'd have to reimplement your model layer twice, etc etc.

You could try abstracting all the model and business logic into standalone class libraries in the Symfony 1.4 version of your project, and then declare them as services in your Symfony2 project, so that you're not rewriting a bunch of code. You can ease that process by using (for example) the Symfony2 class-loader and dependency injection container in your symfony 1.4 project - add a few methods to your ProjectConfiguration class to set them up, and then start refactoring your 1.4 project so that model calls go via the service container instead.

Once the guts of your Symfony 1.4 project are running as Symfony2 services, starting a new Symfony2 project that uses those same services should be a lot easier, and you can gradually refactor over time to take advantage of more Symfony2 components.

Honestly though, it might be more trouble than it's worth, and being able to use some Symfony2 components in your Symfony 1.4 project might go some way to solving any problems you have anyway.

--
Matt Robinson
http://inanimatt.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gopi Krishna M  
View profile  
 More options Jul 18 2012, 2:38 am
From: Gopi Krishna M <mgo...@gmail.com>
Date: Wed, 18 Jul 2012 12:08:52 +0530
Local: Wed, Jul 18 2012 2:38 am
Subject: Re: [symfony1] Migrating from symfony1.4 to symfony 2

Thanks Matt, looks like co-hosting is not worth pursuing.

We will stick to 1.4 for now and move to symfony 2 later.

thx
gopi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »