~/talk

Moving your logic out of Drupal

Talkat DrupalCampSG 2018 · on Thursday, 2018-08-09· [software-architecture, testing]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 2:52An example
  3. 7:07Value Objects
  4. 8:41Taking things a step further
  5. 11:06When is this useful?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.