All project notes

Engineering

Domain-driven design

Use the language and rules of the business to shape software models and boundaries.

Ingestion handles lead records. Presence tracks availability. Routing uses availability to choose a recipient.
Illustrative diagram

In SalesCandy, accepting a lead, becoming available, and deciding who should receive the next enquiry describe different parts of the sales workflow. Domain-driven design uses distinctions like these to guide what the software models and where its rules belong.

The October 2020 v3 reference diagram separates ingestion, real-time presence, and routing. Read through a domain-driven design lens, the diagram shows how those responsibilities can have separate models. Ingestion handles the lead record, presence tracks availability, and routing uses availability when choosing a recipient. This is an exploratory reading of the architecture.