Is Drupal 8 and Symfony totally different or can use both? -


i'm quite new drupal 8 , symfony , i've been reading/looking @ youtube tutorials on symfony. going use drupal 8 our site. mean can't use symfony? 1 or other? understanding @ point majority of our site through theming , modules. mean don't know need create full symfony site right out of gate? insight appreciated.

drupal 8 uses symfony2 - if beginning drupal, wouldn't concerned symfony @ all. symfony collection of bundled php components - these libraries in turn drive of 'core' of d8.

for example, of symfony2 components used in drupal : httpfoundation, httpkernel, routing, eventdispatcher, dependencyinjection, , classloader

you can see above, these low-level functionalities in stack, things not mess (at least @ first), , rather need know how access classes/methods (especially things such routing , dependency injection)

really think it's strategic move drupal allow developers familiar symfony acclimate more drupal environment. it's keeping in mind if write great php library, can plug drupal site, , contribute community using symfony use it.

from can tell in post, have no worries intermingling of 2 - drupal more of traditional cms, whereas symfony collection of php components.

some articles both of these: http://symfony.com/what-is-symfony http://www.blinkreaction.com/blog/why-is-symfony-in-drupal-8-and-how-does-that-change-things

good luck , happy coding


Comments