Symfony2 meets Drupal 8
March 22, 2012 • Published by Fabien Potencier
When I started working on Symfony2 in late 2006 (no typo here, I first talked about my vision for Symfony2 during Symfony Camp 2007), I had some clear goals for this new major version of Symfony:
create a set of PHP components that are the best building blocks for developping any website (the first component was the event dispatcher that was included in symfony 1.1);
offer the best platform for creating end user products (versus websites); the full-stack framework being a by-product of these components (Silex was a demonstration of that possibility);
design a platform that decidedly revolves around HTTP.
This is the most exciting times for the Symfony community as my dream is slowly but steadily becoming a reality.
It all started during the Symfony Live conference in 2010; Nils Adermann and I talked about the possibility to use Symfony2 for phpBB4. In July 2011, the Midgard CMS team announced that they were transitioning to Symfony2. Then, the Zikula application framework also started to use some of the Symfony2 Components.
Today, I want to officially announce that Drupal will adopt some of the Symfony Components for their upcoming version 8. And I'm not talking about some minor components, they are embracing our vision and they will use the major components that will allow them to build a great low-level architecture for Drupal 8: HttpFoundation, HttpKernel, Routing, EventDispatcher, DependencyInjection, and ClassLoader.
By adopting HttpKernel, Drupal and Symfony projects will become more interoperable. It means that you will be able to easily integrate your custom Symfony applications with Drupal... and vice-versa.
This is a very good news for both communities: they benefit from our code and experience, and they will help us improve what we already have.
If you want to learn more about this announce, you can read Dries blog post on this topic.
Also, don't miss Dries keynote at DrupalCon Denver 2012 where he announced the collaboration with Symfony (and enjoy the great morphing between the Drupal and the Symfony logo):
You can also watch my session on Symfony2 during DrupalCon Denver 2012:
Or just have a look at the slides:
Take a minute to welcome the Drupal community and let's start working together to help them build one of the best CMS for PHP.
Of course, we must continue talking with other Open-Source PHP communities to see how we can collaborate; the ultimate goal being to make as much projects as possible interoperable. Let's try to eliminate the NIH syndrome in the PHP world!
Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
I do welcome the Drupal developers to our community but I don't see the point why Drupal should be a Symfony-almost-copy.
By the way, I'm coming back from a small conference about Dailymotion and one of it cofounders, Mr Rappaport.
When telling us about the story of Dailymotion, I asked what kind of collaboration they had with sensiolabs and symfony.
Well... he made me repeat the name of both company and framework and answered me everything was homemade, no symfony inside.
Dailymotion has been of a great value for symfony communication as a first class user, as well as Yahoo answers if I remember.
So, did Mr Rappaport not know about technologies used in Dailymotion, or the part reserved to symfony is minor in front of other technologies, or... could you tell us more on the way symfony evolved since to collaboration with big project / companies, Dailymotion included ?
Aside what we have now - mature and professional framework - I am sure many of us would like to know more on what was tried and given up, what team collaboration helped the framework growing etc... Symfony internals' story.
A CMS is a system where all you care about is the content. My mom is the type of person that would like to use a CMS. She doesn't care about programming. And you really have to know 'hard core stuff' (hard core for my mom) to start a Drupal blog. I see that Drupal is a poor CMF or a really poor CMS...
The fact that a common core is shared with symfony is a reall opportunity for joining users and developpers, this is missing to symfony I think.
And afterall, I do believe sometime you have to reinvent the wheel to do it better and open new opportunities, concepts and development schemas. Personnaly, I don't want the web with only one tool doing this, another doing that... there is place for creativity, and I am sure this kind of cooperation will go towards the direction you firstly told about, having backported bundles from Drupal - and others - into the Symfony ecosystem.
One more thing, how many stable bundles for Symfony2, and how many for Drupal7 ?
I am sure that Symfony developers and community will get more from this cooperation than the other way.
They are however looking into adopting some Symfony2 components within their 3.x release cycle.
But yeah in a way the phpBB announcement paved the way to a lot of people seeing Symfony2 with different eyes which is now creating hard facts, while the phpBB4 announcement is still total vaporware :-/
Perhaps your Mom would care to create a blog at http://www.drupalgardens.com and see if that is user-friendly enough for her.
How about opening your mind and becoming more informed before you disparage other open source projects in the future?
Now we will have a machine that benefit from both. This is superb.
@Tobias : Being rude to a community AND obviously demonstrating that your knowledge about Drupal is clearly outdated is not a mature attitude. Great things has been achieved with Drupal and I think that Symfony also needs Drupal to go a step further.
Awesome, and congratulations to Fabien and the entire community for their efforts into making this possible! I can only see better things coming from this.
@Tobias
The last version you tested was Drupal 5.0? If I was like that I would never be tempted to make such comments in this topic. I'd fear people not taking me serious or sounding like an arrogant prick.
You are obviously not a fearful guy...