An Introduction to OOP, Design Patterns, and TDD
summary
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
chapters (4)
- 0:00Start
- 17:58Build a Purple Car with Four Doors and a Luggage Rack
- 18:28Documentation
- 23:06Unit Testing and Test Driven Development
related talks
02h 24mPractical design patterns in PHP (Part 1)
40mBarely Enough Design
58mObjects, Testing and Responsibility
35mThe Absolute Beginner's Guide To Test-Driven Development
45mBeyond design patterns and principles - writing good OO code
33mOOP - The Pokemon Journey
48mDesign patterns to boost your test automation
59mIntroduction to SOLID
