~/talk

An Introduction to OOP, Design Patterns, and TDD

Talkat WordCamp Singapore 2016 · on Tuesday, 2016-09-06· [php, testing]
slides:none on file

A concise primer that shows concrete artifacts: a Car class with constructor and public/protected/private properties, sample methods (accelerate, brake, steer), and PHPDocumentor-style comments; a PHPunit test that runs and reports "1 test, 3 assertions"; explanation of design patterns with WP_Rewrite as a Singleton example and the Widgets API/Walker as class-extension patterns; recommends the WordPress plugin boilerplate and shows how these pieces make modular code and catch regressions before deployment.

AI-written summary · about

  1. 0:00Start
  2. 17:58Build a Purple Car with Four Doors and a Luggage Rack
  3. 18:28Documentation
  4. 23:06Unit Testing and Test Driven Development
~/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.