tags:

views:

534

answers:

3

I'm now reading this tutorial,which is pretty good because it not only tells you how but also why.

http://www.symfony-project.org/book/1_2/10-Forms

But it's based on symfony 1.0,is there such a good tutorial for the newest version of symfony?

+1  A: 

That's from the 1.2 documentation and the differences between 1.2 and 1.4 are outlined in the what's new documentation for 1.4. Most of what works in 1.2 will still work in 1.4 but you could use the backwards compatible 1.3 for now until you are happy enough to go to 1.4.

Colonel Sponsz
So you mean 1.4 is not backwards compatible?
symfony 1.4 = symfony 1.3 minus deprecated stuff issued from older symfony versions (like sfPropelAdminGenerator, ajax stuff, old validation system, etc.) Symfony project politics is clear: for older projects, it is easy to upgrade to symfony 1.3, for newer project it is recommended to use 1.4, and it can be a pain in the ass to upgrade from 1.3 to 1.4 without some large refactoring.
Patrick MARIE
No - 1.3 is the same as 1.4 but backwards compatible with 1.2 as outlined here: http://www.symfony-project.org/tutorial/1_4/en/which-version
Colonel Sponsz
How often does symfony update?Several month?
There won't be any new major versions of symfony until symfony 2.0 which will released late 2010. Minor versions of symfony 1.3 are planned until the end of this year, and as the 1.4 is the new long time supported version, there can be new updates until 2013.
Patrick MARIE
+2  A: 

Well, this tutorial is part of "the definitive guide to symfony" which doesn't exist for symfony 1.3/1.4.

Instead, you can check the "The More with symfony book" and its chapter on sfForm.

You can also check the Jobeet tutorial in which there is two pages about sfForm too. Try it for propel or for doctrine.

For the record, sfForm was not existing in symfony 1.0 but 1.1, and the former tutorial also applies to newer version.

Patrick MARIE
Is there a great lot of difference between 1.4 and 1.2?I've spent much time reading the book for 1.2
You should take a look to the symfony 1.3/1.4 What's new page: http://www.symfony-project.org/tutorial/1_4/en/whats-new
Patrick MARIE
If you didn't started any project with symfony 1.2, I'd recommend to start straight from v1.4
develop7