DEV Community

Architecture

The fundamental structures of a software system.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Enums as State Machines: Modeling Order Status the Right Way in PHP 8.3

Enums as State Machines: Modeling Order Status the Right Way in PHP 8.3

Comments
7 min read
Pessimistic vs Optimistic Locking in Hexagonal PHP

Pessimistic vs Optimistic Locking in Hexagonal PHP

Comments
9 min read
Don't Mock What You Don't Own: The Stripe Adapter Pattern in PHP

Don't Mock What You Don't Own: The Stripe Adapter Pattern in PHP

Comments
10 min read
Unit Tests Are Overrated and You Know It

Unit Tests Are Overrated and You Know It

Comments
9 min read
Why "Manager" Classes Are a Code Smell (And What to Replace Them With)

Why "Manager" Classes Are a Code Smell (And What to Replace Them With)

Comments
8 min read
Idempotency Keys in PHP: Stop Charging Customers Twice

Idempotency Keys in PHP: Stop Charging Customers Twice

Comments
9 min read
Tell, Don't Ask: The Rule That Decides Where Your PHP Methods Live

Tell, Don't Ask: The Rule That Decides Where Your PHP Methods Live

Comments
9 min read
The Saga Pattern in PHP: Long-Running Workflows Without a Workflow Engine

The Saga Pattern in PHP: Long-Running Workflows Without a Workflow Engine

Comments
8 min read
Aggregate Roots: Why Your Entity Needs a Private Constructor in PHP

Aggregate Roots: Why Your Entity Needs a Private Constructor in PHP

Comments
8 min read
Your AI Stack Is Too Big

Your AI Stack Is Too Big

Comments
1 min read
The Outer Ring: Why Your Framework Is Actually Replaceable

The Outer Ring: Why Your Framework Is Actually Replaceable

Comments
9 min read
The Complete Hexagonal Service in PHP: HTTP, CLI, Queue, DB, Tests

The Complete Hexagonal Service in PHP: HTTP, CLI, Queue, DB, Tests

Comments
10 min read
Escape Vendor Lock-in: Multi-Backend Log Delivery with OTel Collector for FSx for ONTAP.

Escape Vendor Lock-in: Multi-Backend Log Delivery with OTel Collector for FSx for ONTAP.

Comments
16 min read
CQRS in PHP: When Reads and Writes Stop Being the Same Thing

CQRS in PHP: When Reads and Writes Stop Being the Same Thing

Comments
9 min read
Composer Autoloading for Hexagonal PHP: A Namespace Plan That Holds

Composer Autoloading for Hexagonal PHP: A Namespace Plan That Holds

Comments
9 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.