DrupalCon Portland 2013: WE'RE GETTING OOP WRONG AND THERE'S STILL TIME TO FIX IT
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.
More from this event
See all 111 talks →
DrupalCon Portland 2013: Closing Session
17:14
DrupalCon Portland 2013: RESPONSIVE DISCOVERY: THE UNDERPANTS OF A GREAT WEB PROJECT
58:39
DrupalCon Portland 2013: THE JOY OF COOKING - WHIP UP A DRUPAL ENVIRONMENT WITH CHEF
59:17
DrupalCon Portland 2013: TAP INTO MUSEUMS
28:18