Building Performance: From Symfony to Drupal 8 (and Back)
I'm a long time Drupal user, so I embraced Symfony when I heard that Drupal 8 would be adopting it. I started reading about the Symfony project, bundles, and dependency injection. In not that long, I ported a performance monitoring Drupal 7 module into a performance monitoring Symfony bundle - and hacked it into running on Drupal 8!
But Drupal 8 only ever adopted a very limited subset of Symfony code, and it never moved towards structuring itself in a Symfonic way. No way ever materialized to run bundles in Drupal 8, so I had to port the bundle's functionality back into a port of the Drupal 7 module.
When a customer asked for Symfony support, I had mostly Drupal-specific code that was only loosely based on a bundle - so I had to port everything back! There are now two slightly overlapping codebases; the Symfony bundle is in production use on several very large media sites, allowing for monitoring of dozens of subrequests and heavily nested templating.