Workshops & Mentoring

Rails + Domain-Driven Design Workshop

Make your development team understand the principles of Domain-Driven Design and master the most powerful design approach in today's world of complex business rules. A practical, hands-on workshop built around real code.

Curriculum

What you'll learn

Attendees learn DDD principles and a trending architecture approach for complex business domains — event sourcing — applying them directly to a workshop application.

Bounded contexts

Split a large domain into clear, decoupled contexts with well-defined boundaries.

Aggregates & value objects

Model entities, value objects and aggregate roots that protect business invariants.

Domain events

Publish and consume domain events to decouple behavior across your system.

Event sourcing

Persist state as a sequence of events and rebuild it reliably on demand.

Sagas

Coordinate long-running processes across aggregates and contexts.

Read models

Build fast, purpose-built read models (CQRS) for your queries and views.

Agenda

Two days, mostly code

Most of the time is spent writing code and crunching domain knowledge to make it as practical as possible.

  1. Day 1

    Modeling the domain

    Bounded contexts · Entity, value object and aggregate · Application and domain services · Publishing domain events.

  2. Day 2

    Events all the way

    Consuming domain events · Event sourcing · Sagas · Read models.

  • Exercises against a workshop application with constant mentor support.
  • The result is a complete app built with event sourcing, plus techniques to move from "the Rails way" to a DDD app.
DDD and AI

Why DDD matters more in the age of AI

Commands become tools

Explicit commands with validated inputs are precisely what an AI agent needs to act safely inside your application.

Contexts become boundaries

Bounded contexts define what an agent may read and change, and give models a consistent vocabulary to work with.

Events become the audit trail

A stream of domain events records what an automation did and why — and is ideal context for models to reason over.

See the AI for Rails Teams workshop

FAQ

Workshop questions, answered

Who is the DDD workshop for?

Ruby on Rails developers and tech leads who work on applications with complex business rules and feel that "the Rails way" is no longer enough. Working knowledge of Rails is assumed; no prior DDD experience is needed.

Is the workshop remote or on-site?

Either. We run it in-house or remotely, and tailor the examples to your domain.

How long is the workshop?

Two days. Most of the time is spent writing code against a workshop application, with constant mentor support.

How does Domain-Driven Design help with AI?

AI agents work through well-defined operations. Bounded contexts, explicit commands and domain events give an application exactly that: clear tools an agent can call, clear boundaries for what it may touch, and an event history that explains what happened. Teams that model their domain well find AI integration much simpler.

Related

Keep exploring

Level up your team with DDD

Run this workshop for your team, in-house or remote. Let's tailor it to your domain.