~/talk

Introduction to Object-Oriented Programming

Talkat Twin Cities Drupal Camp 2016 · 2016-06-23..06-26· [php, software-architecture]
name:Will Long
links:none on file
slides:none on file

Crash course that makes someone Drupal 8–ready by showing actual code patterns: class-based form elements with a shared abstract base and overridden render methods, building an Ajax autocomplete by adding JS and calling parent::render, a Views field handler that formats timestamps with php date and a custom sort handler that emits a 0/1 SQL expression, Drupal 7 autoload via .info files versus Drupal 8 PSR-4 autoloading, how to get services via the service container and ControllerBase, and using PHPUnit mocks and Drupal simple tests.

AI-written summary · about

  1. 0:00Introduction to OOP
  2. 1:12About the speaker
  3. 2:35Session objectives
  4. 3:19Programming styles history
  5. 8:14PHP OOP fundamentals
  6. 12:13Form elements and classes
  7. 14:40Inheritance in OOP
  8. 17:17Method overriding
  9. 20:06Namespaces and traits
  10. 22:38Class properties and methods
  11. 24:03Interfaces and inheritance
  12. 24:46Dependency injection
  13. 26:35Service container
  14. 27:59OOP in Drupal 7
  15. 31:18Queueing mechanism
  16. 32:44Entity controllers
  17. 33:25Mail system
  18. 34:07Module and theme updaters
  19. 34:28Views OOP implementation
  20. 38:01OOP in Drupal 8
  21. 39:06Plugins in Drupal 8
  22. 41:13Controllers in Drupal 8
  23. 42:41Testing in Drupal 8
  24. 44:30Why Drupal uses OOP
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.