PHP Traits: What They Are and When to Use Them
A practical look at PHP traits: why they exist and how to share behavior across unrelated classes without the pitfalls of multiple inheritance.
Blog
My writing, videos and posts across platforms on software architecture, PHP, DevOps and product development. (Page 14/32)
A practical look at PHP traits: why they exist and how to share behavior across unrelated classes without the pitfalls of multiple inheritance.
Laravel 10's type discipline and the new Process facade: how the framework's maturing codebase translates into better day-to-day development.
Deriving documentation from code and sharing one source of truth with clients: fitting the OpenAPI specification into a daily workflow.
Honest first impressions from a developer after a few days with OpenAI's newly released ChatGPT: where it impresses, and where it falls short.
A look at readonly classes, DNF types, and standalone type declarations in PHP 8.2, and their impact on domain modeling.
Why naming is not merely a style choice, but a design decision in its own right — patterns I have observed over the years.