On Wed, 23 Sep 2009, bghost wrote:

> No offense Fabien, this is a well-meaning criticism. I know that you
> invested so much effort into Symfony. However,  you are a little
> exaggerated forcing object model and  object-oriented programming
> where it is  necessary - and where it is not (as is the case with WEB
> Forms)

I actually *like* the new forms framework. It is a better abstraction than 
cobbling together helpers in templates, coding the action and having 
validation in YAML files (plus another file if you had to write your own 
valiator). Having a form as an object and being able to do things like 
$form->isNew() or $form->isValid() is easier to me.

> Almost 90% of the code that generates the Symfony framework
> developer need to modify or re-write, because the generated
> code "does not follow best practice" (per your words) in programming.
> What is the point and what the benefits of the code generated if 90%
> of the code must be re-written on the completely different way?

Show us an example.

> The result of all this is a complex directory structure,

I would dispute that, because the structure has a logic to it that you get 
used to.

> many empty
> classes that only contain a skeleton and just inherits one of the base
> classes,

You mean for the ORM stuff? Sure, but there's a good reason for that as 
stated in the documentation.

> and finally the CRUD code that always must be re-written.

You mean when generating an admin?

> And to get all that, the programmer must learn a bunch of different
> configuration and command line options.

One could say the same thing about *any* language. Messing with 
command-lines, editing XML, packaging JARs and WARs are all part of Java, 
so by your logic you could say the same thing about Java.


-- 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to