Symfony Live Conference, Symfony 2.0, and Dependency Injection
Fabien Potencier
February 19, 2010
This has been an amazing week for me, Symfony, and the whole Symfony community. With more than 350 attendees coming from more than 30 countries, the Symfony Live conference was a blast. I want to thank all attendees, speakers, and the Sensio Labs team for coming to the conference and making it a truly fantastic event.
If you have not attended the conference, you can still come to the Symfony Live After-Party next week in London. And don't miss Symfony Camp in June and Symfony Day in October. If you live far away from Europe, stay tuned as we have more exciting news to announce in the coming weeks.
The conference was also the occasion to unveil the first preview release of the upcoming Symfony 2 framework. Since then, the buzz has been great and I have already received a lot of good comments on it. Of course, I hope that this is just the beginning, and that more people will provide feedback.
On the PHP Community
I'm also very proud that people from so many different PHP "sub-communities" attended the conference: Jon Wage (Doctrine project manager and lead developer of Doctrine 1.x), François Zaninotto (lead developer of Propel), Nils Adermann (lead developer of PhpBB), and of course, Matthew Weier O'Phinney (Zend Framework lead).
I like to see the whole PHP community as a big unified group of developers trying to promote the same platform. And I do my best to be a good "PHP citizen". I try to innovate by adapting concepts from other languages. But I also try to not reinvent the wheel when it's not mandatory. The symfony 1 framework uses a lot of third-party libraries like Propel and Doctrine. And for Symfony 2, I'm proud to have replaced our own Logger and Cache system by the equivalent components from the Zend Framework. And you can imagine that it was not an easy decision to take. First, because it meant throwing away code we have written and maintained for years. Then, because the Zend Framework is our main competitor. But I'm sure we have made the right decision and Matthew seems to have the same point of view on that matter.
On PHP Frameworks
People are jealous, so jealous that it makes me really sad. For the last few years, some PHP framework communities attempted to "kill" Symfony by trying to demonstrate that it is too slow, too complex, and too bloated. Of course, that's not true. And the number of high-traffic websites using symfony 1 speaks for us.
I get inspiration from many different frameworks from many different languages. Besides PHP projects, I like to follow the development of Django, Spring, Rails, Maven, Jinja, Rack, Sinatra, and many others. I try to bring innovation to the table. And for Symfony 2, I have tried to take into account the major pain points of symfony 1. The truth is that Symfony 2.0 requires no configuration. The truth is that Symfony 2 is really fast. Is it the fastest framework? I don't care. It is probably fast enough for your next website, and so is symfony 1.
Now if some people cannot accept that Symfony 2 is really fast and if they cannot accept that Symfony 2 is great step forward for PHP, that's sad. The web evolves very fast. Competition is everywhere for PHP. We should all be in the same boat.
I would love if people from different framework communities can work together more often, like what we have done with the PHP 5.3 interoperability group. I would love if we can share more components. I would love to discuss how we can make our PHP community grow faster.
Is it a dream? I hope it's not. And I have a proposal. Let's organize an event where several PHP framework communities can discuss and share ideas. Anyone?
On Dependency Injection
The biggest Symfony 2 innovation lies in its low level architecture. And its flexibility and speed is mainly due to the Symfony Dependency Injection Container component. Dependency Injection Containers are not widespread in the PHP world, and I really think that this is a very good approach. That's why I talk about Dependency Injection at conferences. Next time I will talk about this topic is during the ConFoo conference in March.




Just today I wrote on my blog [1] about what I think was the best part of the conference. It wasn't Symfony 2.0 nor Doctrine, nor any of the other really superb talks.
To me it is the fact, that you (and Jon and many more from the core different teams) evolved, learned a lot, found new concepts and (and this is my point) you attempt to take the whole community with you by spreading the word, repeating the message and share your view. By this it seems you already moved a big chunk of the communitys focus to code quality and concept related concepts.
_That's_ the truly awesome work you and the others do. Thanks for that!
[1] http://test.ical.ly/2010/02/19/symfony-live-2010-mein-fazit/ (in German)
I would love to go the next Symfony Live, but maybe I see some of the guys at the next PHP Barcelona.
Thanks for all the great work.
As you said at the 2009 edition of Symfony Live, people who complain the most about symfony are those who don't have the skills to understand it (or something like that).
Keep up the good work.
I can't wait to try some ideas I have with Symfony and Doctrine 2.0.
One thing I think would have been helpful at this year's conference is a session on dependency injection itself. There were sessions that took it for granted, even though it is quite new to most developers, and other sessions that did not take more basic things for granted. The concept probably came through by osmosis, but I think an hour on dependency injection and the dependency injection container would be very well received at the next conference.
Kill the magic! Kill the WTFs! Stop reinventing CGI! (:
<a href="http://www.weddingphotographers.in">wedding photographer</a>
<a href="http://www.weddingphotographers.in">wedding photography</a>
I will be looking forward to have some events like this in Latin America.
Regards!!
I wanted to use this opportunity to formally congratulate you on the release of Symfony 2. It is a huge step forward for both Symfony and the PHP community as a whole. For myself and my colleagues, we wish you nothing but success. I'm very sorry to hear that you feel other PHP frameworks have a conspiracy against Symfony. For my part, I'm honored to consider you a colleague.
What did trouble me, however was the way you went about promoting Symfony's speed while at Symfony Live. If you interpreted this as an attack on Symfony or a lack of acceptance of Symfony's performance, I sincerely apologize.
Having tested Symfony first-hand, I'm very confident that it probably is the fastest PHP framework currently available. Very impressive! It just disappoints me that this could not have been communicated in a more honest way. Yes, I can correct you now, after the fact; but as we have already discussed, that is beside the point.
In any case, you've still done some great work, and produced some innovations we can all look to and learn from. I look forward to seeing you again at ConFoo, and would be very interested in discussing your proposal.