Recent comments

If I may, it sounds like the summary is "Symfony is more elegant and proper, but Drupal gets the job done." Which means Drupal 8 (rewritten to leverage Symfony Components and follow many of the same "elegance" standards, but not all of them) should be very interesting indeed. :-)

I completely agree and I should say Python is my favorite language :)
The thing here is that we have lots of projects to maintain, and it’s not me as single developer, it’s a team. So, we decided to stick to PHP for our business needs.

Being a Drupal developer for years I started looking for a framework for projects when client needs more speed and flexibility. I looked at all major PHP frameworks and saw that Symfony is the most solid project in PHP. After spending two weeks with Symfony 2 I was so pissed of with it that I came to conclusion that it will be worth to look at another languages. I tried Ruby on Rails / Ruby and Django / Python and felt in love with the later.

Python's learning curve is pretty much low when you already know one or two programming languages. Additionaly, comparally to PHP you need to type twice less. When it comes to Symfony 2 vs Django comparison... well, no holywar there, but Django is more developer friendly and you need from two to three times less code to accomplish the same task with it comparally to S2. I'm not even talking about the number of libs/packages/apps/whatever you call it: Django and Python have way bigger selection of these.

And the best thing in learning Python is that I started writing better PHP code for Drupal mostly because of a breath of fresh air that Python/Django gave me.

Thanks! I agree.
I would say, Symfony2 is (mostly) an area for professional products and custom/highload projects, not corporate/content websites. Though you can develop good content website in Symfony2. Good, and probably expensive :)

Thanks for the refreshingly honest post about your experiences with both! Most posts come from one camp or the other and show some bias, but you dealt with both fairly.

The same project will cost roughly twice as much developed in Symfony, comparing to Drupal, and will take twice as much time.

That seems like a pretty damning quote! Most clients in the web space I've worked with don't consider maintenance when deciding on a project. Maybe short-sighted on their part, but it rarely comes up. Hearing a word like 'double' would instantly remove sf2 from the conversation.

This would be awesome as a module. The current Ubercart file-selling functionality is pretty atrocious - it makes things have to happen from within two separate interfaces, and is utterly useless except for a one-seller-one-site paradigm. I'm working on a site where the idea is that multiple people would be able to upload and sell their own e-books.

Even if you don't create a module (which there is seriously a need for!) the above code should be enough to let a developer hack together their own implementation.

Thanks so much! I thought I was going to have to go through the Ubercart code line-by-line, in the absence of friendly documentation.

Great tips, thanks, I also always found this view bad behaviour :), but we can avoid this by not using the same custom field for different content types, try to use unique field for every content types, not just avoiding this view bad behaviour :), it will also speed up drupal auto query from view, you can feel it when you deal with a big data