DrupalCon Portland 2013: WE'RE GETTING OOP WRONG AND THERE'S STILL TIME TO FIX IT

43:09 · 20 May 2013 – 24 May 2013 · YouTube

About this talk

This talk focuses on improving class modeling and unit testing in Drupal 8, emphasizing the challenges associated with a procedural codebase that utilizes classes and service containers. The speaker discusses the complexity introduced by tightly coupled components and the lack of effective unit testing prior to PHPUnit, which has hindered the development of flexible and testable code. By highlighting the issues with current implementations, particularly the User class within the Drupal\user\Plugin\Core\Entity namespace, the speaker advocates for the adoption of clear Models that encapsulate business logic. In this session, the speaker aims to illustrate how better modeling and unit testing can enhance the overall Drupal experience, particularly in contributing to the platform.

From event

DrupalCon Portland - May 2013

20 May 2013 – 24 May 2013

All event videos
Back to Watch