On Thu, 24 Sep 2009, bghost wrote:

> Yes, and this is content of template:
> 
> <form action="<?php echo url_for('@change_language') ?>">
>   <?php echo $form ?><input type="submit" value="ok" />
> </form>
> 
> And please, can you tell me why is the fucking select box inserted
> outside from the form?

Its an object that *can* output itself or you can output each field 
individually yourself too if you prefer.

> Variable $form is object of sfFormLanguage type which is part of the
> Symfony core.

But is it really? Or is it a form generated from your 'language' object 
model? Im guessing the latter and so your question just shows you didn't 
make that connection...

> So, to correct that I must take a look into Symfony core? 
> That's bad and stupid.

Much more stupid to not learn a framework and then critiscise it because 
you haven't finished learning it.

> Symfony Form framework is nightmare for designers. And please, do not
> just
> say "you do not have to use if you do not want it" because that's
> fucking stupid.
> In that case, better answer is: "You do not have to use Symfony".

Again, having worked with several designers on symfony sites I would say 
it depends on the designer. Certainly undertanding how to go look at a URL 
and finding the template for it requires a bit of learning but I would not 
say it its like learning to program. A lot of designers these days though 
do *not* know HTML which can be a problem.

You will have a similar problem in other frameworks too. Either that, or 
those frameworks introduce yet another contruct into the HTML (like XML, 
CFML, FBML , etc. this is what things like Smarty do). So either you've 
got some view-related PHP code in your templates or you abstract that all 
away by adding yet another layer). I dont see how one is easier or better 
- they are just different.



-- 



--~--~---------~--~----~------------~-------~--~----~
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