Bounded Contexts in Web Development

28th April 2019 / In Javascript Domain Driven Development

Bounded Context is a pattern in DDD that deals with the complexity of large domains. The idea is that you can divide the domain into different bounded contexts and make things in those bounds explicit. In the postcard project that I’m working on, I have an example. In my case, the postcards have two different contexts in which it operates. One is the collecting aspect and the other is the customization aspect. In terms of the collecting aspect, we focus on mostly all of the attributes that a postcard has except the style. The customization context on the other hand is more focused on using the styling to change the view of the postcards. This, in turn, can help teams divide their work accordingly while still utilizing the ubiquitous language.