Moving your logic out of Drupal
summary
Advocates extracting business rules into a standalone Composer package that calls the remote API with Guzzle HTTP client, models data as Match and Team value objects, and keeps a minimal Schedule presentation wrapper inside Drupal. The integration package handles fetching and normalizing JSON, improves unit testability and speeds up CI by shifting integration complexity out of Drupal, and lets multiple Drupal renderers reuse the same domain code without duplicating HTTP logic.
AI-written summary · about
chapters (5)
related talks
36mTest driven development in Drupal 8
25mCode decoupling from Symfony (and others frameworks)
40mStrategic Business Functionality Testing: Accelerating Development Through Mocking
01h 58mPragmatic TDD
49mTesting for the Brave and True
34mSustainable Architecture
01h 05mLightning fast tests
35mTesting Strategies for Giant Applications
