[symfony-users] Re: How to move from 1.0 to new form framework..

2009-07-15 Thread Matías López
Hello,

So I can mix new form framework with old forms? I didnt know this. I will
start as you stated.

Great news :)

Thanks!

Lic. Matías López
E-mail: lopezmat...@gmail.com
Tel: +54 341 435 2069
Movil: +54 9 341 155 799291


On Wed, Jul 15, 2009 at 1:46 PM, Richtermeister  wrote:

>
> Hey Matias,
>
> I find that symfony allows a gradual approach to this. When you leave
> the sfCompat10Plugin enabled, all your old forms will still work, and
> you can gradually replace them with form classes. No other changes to
> your app should be neccessary.
> If your forms are based on your model, I would start with the auto-
> generated forms and extend & customize them from there.
> Look at the sfGuardPlugin for inspiration, where there's an admin form
> that extends the BaseForm, and the front-end form would in turn extend
> the admin form. This "extend and change a little" philosophy is what
> will save you a lot of time with careful planning.
>
> Hope this helps.
> Daniel
>
>
>
> On Jul 14, 7:27 pm, Matías López  wrote:
> > Hello Folks.
> >
> > I did a really big project with Symfony.. almost 3 years of development..
> > very happy with it.
> >
> > It started from version 0.5 or so. I updated to new versions and with a
> > little work it's now compatible with Symfony 1.2.8
> >
> > Now Im trying to move to the new form framework every of my forms..
> >
> > My question is.. how should I approach this change? Or is it just delete
> old
> > code and recode adapted to new form ?
> >
> > Any help is welcome,
> >
> > Matías
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: How to move from 1.0 to new form framework..

2009-07-15 Thread Richtermeister

Hey Matias,

I find that symfony allows a gradual approach to this. When you leave
the sfCompat10Plugin enabled, all your old forms will still work, and
you can gradually replace them with form classes. No other changes to
your app should be neccessary.
If your forms are based on your model, I would start with the auto-
generated forms and extend & customize them from there.
Look at the sfGuardPlugin for inspiration, where there's an admin form
that extends the BaseForm, and the front-end form would in turn extend
the admin form. This "extend and change a little" philosophy is what
will save you a lot of time with careful planning.

Hope this helps.
Daniel



On Jul 14, 7:27 pm, Matías López  wrote:
> Hello Folks.
>
> I did a really big project with Symfony.. almost 3 years of development..
> very happy with it.
>
> It started from version 0.5 or so. I updated to new versions and with a
> little work it's now compatible with Symfony 1.2.8
>
> Now Im trying to move to the new form framework every of my forms..
>
> My question is.. how should I approach this change? Or is it just delete old
> code and recode adapted to new form ?
>
> Any help is welcome,
>
> Matías
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---