Drupal 8 has replaced several fundamental pieces with fresh components from Symfony2. Drupal 8 is the new standard for creating incredible digital experiences—for small businesses, global enterprises, and everything in between. Symfony 2 is a powerful framework used to build web-based application. It cannot be used to administer a website, as it’s not a CMS. What it can do is work along with the CMS and empowers it.
In reality, most CMS can be used over Symfony with few exceptions like Drupal. To overcome these hurdles, Drupal 8 is designed to accommodate certain Symfony 2 layers. This particular combination is a match made in open source heaven, forming a well-balanced system for a flexible CMS. Similarly, going hand-in-hand with Symfony has made PHP a mandatory language for Drupal developers.
How Symfony And Drupal 8 Work Together
We have already established the fact that Drupal 8 is not adopting all Symfony components. They’re only making use of the smarter layers to extend Drupal 8’s functionality. Looking at the schematics, you can get a rough idea on what components of Drupal 8 and Symfony 2 are put into use.
Drupal bypasses the “bundle” approach that is more popular for web applications. As for any CMS, the framework needs to be completely flexible and extendable. Thus, the layers were carefully selected. Drupal 8 exclusive layers have the 3rd party libraries and the core functionalities like the themes, modules, the core library, etc.
You can read the entire article here.