Fabrice from Theodo has done a very good talk on the Symfony live about giving good perspectives on Drupal 8 integration into Symfony2. Guess what? Ekino has already done the job for the latest stable version of Drupal: version 7. Let us update you on our project: EkinoDrupalBundle.
Does it work? Yes, it has been implemented in production for over a year and proved to match our customer needs!
One recurrent question we get about this implementation is “why mix Symfony-Drupal?”. The answer is quite simple, “use the right tools for the right job!” (i.e., user’s requirements).
Drupal is out-of-the box a full featured CMS solution, handling contents with success and provides a lot of modules. However, Drupal is a well reknown content management solution but when it comes to specific business needs… You are stuck! So you need a rational stack to build up. Symfony2 has been used as foundations to major solutions : ezPublish, phpBB, Drupal 8, etc.
For these reasons, Symfony2 and Drupal7 can be a real deal breaker ~ flexible contents management and business problems solving:
- communication with external web services,
- shopping solution integration,
- data synchronization,
- etc …
Of course in the end it is raw PHP, but Symfony2 does the job by respecting quality and established rules.
The integration works both ways, Symfony2 integrated into Drupal and Drupal integrated into Symfony2. So inside Drupal, you can access to the Symfony container through the symfony_service function and you can access to a Drupal object in Symfony with the service ‘ekino.drupal‘.
Learn more and fork on github! Want to know more about this integration, contact us!