Yeah, sorry about this comparison.

All i want to say is:

   1. In *model* layer - if you used Doctrine, not propel - Doctrine2
   differs to much. In this case, you probably will need to *rewrite* all
   you business objects. Also, there's absolutely different form & validator
   components, that works different to - means you will need to rewrite all
   forms to.
   2. In *controller* layer - every action now works with objects through
   DIC & every one of them returns response. So, you will definitely need to
   rewrite all your actions.
   3. In *view* layer - there's absolutely different helpers & sub-requests
   instead of components. It will become hell-like refactoring.
   4. And worst of all, there's new unit & functional testing mechanics,
   based on PHPUnit & DIC. So, your test suites will most likely not work to.

Based on all that, it's not migration. It will more likely be *rewriting* of
your project with Symfony2 manual in hands. IMO.
**

---
http://about.me/everzet/bio



On Sun, Dec 26, 2010 at 22:49, Leon van der Ree <[email protected]>wrote:

> I think this answer is a little exaggerated
>
> Symfony 1 & 2 are both php, object oriented and mvc frameworks (this
> in contrast to drupal: php not oo, not mvc versus RoR: ruby, oo, mvc).
>
> However you do need to port your work from sf1 to sf2,
> 1. Directory structure differs (bundles)
> 2. Classes are different (controller)
> 3. Introduction of dic, which you probably want to make use of
>
> Besides:
> 4. Introduction of doctrine2 which you probably want to make use of
> (or propel which has a bundle as well in sf2)
> 5. Twig for your templates that is available
> But these last 2 points can also be used with plugins in sf1.4
>
> So you have to do some work when migrating, but you can make some
> choices to simplify this process somewhat, to make reuse possible to
> some extends.
>
> On 26 dec, 18:40, Konstantin Kudryashov <[email protected]> wrote:
> > symfony1 & Symfony2 is 2 *absolutely different* frameworks.
> >
> > Migration from symfony1 to Symfony2 is the same as migration from Drupal
> to
> > RubyOnRails.
> >
> > ---http://about.me/everzet/bio
> >
> > On Thu, Dec 23, 2010 at 18:27, Federico Torresan <
> [email protected]
> >
> >
> >
> > > wrote:
> > > Hi,
> > > Is there any updates about this topic?
> > > I have to start developing a new web application and I want to use
> symfony
> > > as Php Framework but I need to know if it's better to start with
> symfony 2.0
> > > or with the current 1.4 release.
> > > I'm interested in the performance improvement of the 2.0 version,
> > > supposing your response will be to start from the 1.4 release how
> difficult
> > > will be the migration to 2.0 version when it will be stable?
> > > Sorry for my bad english.
> > > Look forward your response.
> >
> > > Thank You
> >
> > > Federico
> >
> > > --
> > > If you want to report a vulnerability issue on symfony, please send it
> to
> > > security at symfony-project.com
> >
> > > You received this message because you are subscribed to the Google
> > > Groups "symfony developers" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<symfony-devs%[email protected]>
> <symfony-devs%2bunsubscr...@google groups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-devs?hl=en
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to