Development Methodologies

Design before code, test before ship โ€” SDD and TDD workflows from real 4WP plugins, not textbook theory.

Methodologies answer how you work before and during coding. This is not Architecture (patterns) and not Development (WP API).

The 4WP workflow chain

SDD โ†’ DDD โ†’ TDD โ†’ implementation โ†’ refactor โ€” design fixes flow, domain models structure, tests verify behavior.

SDD

Software Design Document โ€” requirements, architecture, data flow, and implementation order before the first line of code.

Case study: 4WP Analytics Dashboard โ€” provider registry, REST-first blocks, access-before-data flow.

TDD

Test-Driven Development โ€” PHPUnit, WordPress test suite, red-green-refactor to verify plugin behavior before refactoring.

Design fixes flow โ†’ TDD fixes behavior. Not the same as SOLID or architecture patterns.