DrupalCon Barcelona 2015: Decoupling Drupal modules into PHP libraries
About this talk
This talk explores the reciprocal relationship between the Drupal and Symfony ecosystems, focusing on how Drupal developers can contribute to Symfony. The speaker discusses the development of Commerce 2.x, which began with generic PHP libraries addressing eCommerce challenges such as price management, tax handling, and address processing before integrating with Drupal. Key topics include identifying which functionalities are suitable for decoupling, understanding the impact on the Drupal codebase, and navigating the differences between Drupal's Entity API and Symfony's Doctrine. The session emphasizes lessons learned through this collaboration, using the Commerce 2.x libraries as a case study to highlight the benefits of this approach.