ecotone
Stop Subscribing to Domain Events
The notification fires before the projection commits. The user sees a stale balance. Emitting derived events from inside the projection — as the read model — closes the race for good.
I am sharing knowledge and experience about #DDD, #ES and #Message-Driven Systems. And making them effortless to follow with #Ecotone Framework in #PHP.
ecotone
The notification fires before the projection commits. The user sees a stale balance. Emitting derived events from inside the projection — as the read model — closes the race for good.
php
Scale event sourcing projections with partitioned processing, track-based gap detection, and streaming. Learn how Ecotone handles concurrent transactions.
php
Decouple projections from command handlers with async execution. Learn self-healing, failure isolation, batching, and polling in Ecotone's ProjectionV2.
php
Learn why Event Sourcing needs projections and build your first read model with Ecotone's ProjectionV2. Lifecycle hooks, state, and CLI included.
php
DDD doesn't have to mean dozens of classes and layers of abstraction. Practical DDD aimed for business side of things will produce less code than CRUD.
DDD
Why organizing your DDD domain layer into Aggregates/, ValueObjects/, and Repositories/ folders undermines the very goal of Domain-Driven Design.
event-sourcing
Every Developer has that list of patterns they'll learn "someday." Event Sourcing. CQRS. Sagas. What if the gap between knowing these exist and actually building with them just collapsed?
ai
AI coding assistants have created a velocity paradox. Developers ship code 55% faster, but that AI-generated code shows 41% higher churn rates (rotation of the code). When you're adding features at twice the speed, architectural mistakes compound at twice the rate too.
workflows
Before reaching for state machines or saga patterns, ask yourself: is this actually a multi-step process, or just a delayed action? The answer will save you hundreds of lines of code.
legacy
You ship a small bug fix. Suddenly, two other features break. Every deployment feels like gambling. The business depends on this app—it brings in revenue, customers use it daily—but nobody feels confident working on it.
php
Everyone's talking about vibe coding — describing what you want in natural language and letting AI generate the code. Solo developers are shipping features in hours and Startups are prototyping before lunch. But here's what nobody mentions at the demo stage: most vibe-coded applications are architectural disasters
architecture
Let's dive into how we can build Event-Driven Architecture in PHP using Smart Endpoint - Dumb Pipes approach.