JAFSJosé Antonio Fuentes Santiago

ls -t ./articles

Articles

newest first · [ en español ]
  • SDD: From Vibe Coding Chaos to Architectural Rigor

    In the beginning, the programmer wrote code by hand, line by line. And the software was without form, and full of bugs. And darkness was upon the face of the Friday deploy, for the legacy code lurked there. Then came the language models and the AI agents, and the community cried out: "Let there be prompt!" And all of a sudden we found ourselves in the wonderful world of vibe coding: toss three casual sentences at Cursor or Claude, watch five hundred lines of code autocomplete themselves like magic, and pray it compiles on the first try.

  • DDD in a Zombie Apocalypse: Frequently Asked Questions

    In the previous installments we started by building the shelter's vocabulary with the ubiquitous language and ended up with more advanced patterns like the Outbox pattern. It's been an intense ride, but before we close the shelter door, it's time to answer the questions that always come up when you try to apply all this to a real project. We'll also go through a checklist and a short guide to help you decide when DDD makes sense and when it doesn't.

  • DDD in a Zombie Apocalypse. Part 4

    In the last three parts we laid the shelter's foundations: the ubiquitous language and bounded contexts that get everyone speaking the same language, the domain services, repositories, application layer and domain events that connect the core to the outside world, and the Sagas, antipatterns and tests that keep things consistent when they get messy.

  • DDD in a Zombie Apocalypse. Part 3

    In part one we laid the foundations: the ubiquitous language that gets the group leader and the developer speaking the same language, bounded contexts so Medical, Logistics and Command don't step on each other's toes, and aggregates standing guard at the shelter door. In part two we connected that core to the outside world: domain services for logic that involves several players, repositories that keep the domain unaware of the database, the application layer as the conductor, and domain events that let the whole system react without direct dependencies.

  • DDD in a Zombie Apocalypse. Part 2

    In the first installment of this series we laid the groundwork for bringing DDD into our camp. We set up a ubiquitous language to close the gap between what the group leader says and what the developer writes. We split the system into bounded contexts so Medical, Logistics and Command stop stepping on each other's toes. We learned to tell entities from value objects, and finally we saw how aggregates act as the guard at the shelter door: nobody changes anything without going through them. I'd read that one first, because we'll reuse several of the classes we defined there.

  • DDD in a Zombie Apocalypse. Part 1

    Picture this: we're in the middle of a zombie apocalypse. Your group of survivors has holed up in an old abandoned power plant, and things are bad. Someone has to manage shelters, coordinate supply runs, keep infections in check and make calls that can mean life or death. So you decide to build a system to help with all of it.