PHP Fibers: What They Are and Where To Use
Fibers are introduced to PHP and are a elegant way to simulate parallel work. Read more about how they differ from threads and coroutines.
Posts about software development in general.
Fibers are introduced to PHP and are a elegant way to simulate parallel work. Read more about how they differ from threads and coroutines.
Complete guide to PHP enums: pure vs backed enums, comparison, pre-8.1 patterns, when not to use enums, and best practices from production codebases.
Complete guide to PHP readonly properties (8.1) and readonly classes (8.2): immutability benefits, getters vs readonly, syntax differences, constraints, and when to use each.
Mocking in unit tests is a powerful technique. This post addresses when and how to use mocks properly in PHP.
Complete guide to PHP traits: what they are, what changed in PHP 8.0–8.3, why they violate SOLID principles, and why Dependency Injection is the better alternative.
Benthos - now Redpanda Connect - is a stream processor for data transformation. Learn the input/pipeline/output model, Bloblang, and a real AWS S3 example.
Practical guide to migrating PHP applications to Laminas and Mezzio: PSR compliance, module structure, Guzzle builder pattern, ConfigProvider caching, and PSR-7 stream pitfalls.
In this post, I want to address scalable system design and how to grow a system while it's user base grows.
I set up a home server and manage it with puppet. This blog summarizes the setup step by step and shows my learnings.
This blog post is part of preparation for a computer science interview in big tech. Summarizing my computer science skills in a blog post.