In 2003, Eric Evans launched the idea of DDD. Since then, the DDD group has developed, and new concepts and patterns have unfolded.
For instance, let’s take a look at occasion storming and area storytelling for the issue area. Within the answer area, we principally have two fundamental teams of patterns: The tactical patterns, that are extra targeted on the supply code, and the strategic patterns, that are targeted extra on structure and the way organizations might be designed to be able to sort out the complexity.
In at this time’s put up, we’re going to concentrate on strategic patterns. There are various engineers at GetYourGuide who’re on this subject, particularly those within the Discovery crew. Throughout departments, we have now groups that concentrate on particular missions. Discovery is made up of UX team members, a product manager and designer, and engineers. Our crew offers with many upstream programs, and understanding every strategic sample permits us to design the very best integration with them.
You may additionally be keen on: The framework to excel as an Engineering Manager
Strategic domain-driven design with bounded context and context mapping
Strategic patterns are targeted on integrating bounded contexts, that are logical boundaries in your system. When the issue area is outlined with domains and subdomains, it is time to implement the structure/groups that may care for the answer area. Bounded contexts outline a standard language or mannequin inside a subdomain. Normally, when the language or mannequin begins altering its which means, it signifies that one other bounded context might be created.
One instance at GetYourGuide demonstrates the idea of an Exercise. From the provider viewpoint, an Exercise is a mannequin with many fields like title, description, highlights, assembly level, totally different beginning instances, classes, and so forth. From a search viewpoint, an Exercise can imply simply the title, a “from value”, a picture, and evaluations price.
To visualise how totally different bounded context work together, DDD has a general-purpose method/device referred to as context mapping. When making a context map, it is attainable to establish potential logical boundaries within the system. Strategic patterns work by particularly integrating these totally different bounded contexts.