~/talk

OOP - The Pokemon Journey

Talkat MidCamp 2018 · 2018-03-08..03-12· [software-architecture, php]
links:none on file
slides:none on file

Begins as a Pokemon-themed walkthrough that maps concrete PHP OOP constructs to examples and Drupal 8 code: shows class properties, constructors, visibility, TranslatableMarkup from core, inheritance with extends and abstract widget base, interfaces implemented by form classes, and reuse via StringTranslationTrait. Demonstrates building a custom annotated block plugin, explains services and swapping the current_user service or an email validator, and implements dependency injection with a constructor and create() container method. Code examples are runnable pseudocode tied to D8 core classes.

AI-written summary · about

  1. 0:00Introduction to OOP
  2. 1:04Classes and objects
  3. 5:40Inheritance in Pokemon
  4. 9:15Gym battles and weaknesses
  5. 15:41Interfaces for Pokemon
  6. 16:01Traits for evolution
  7. 18:09Plugins for badges
  8. 21:57Services for trainer stats
  9. 24:27Dependency injection
  10. 30:30Summary and resources
~/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.