A Pattern for Sharing Data Across Domain-Driven Design Bounded Contexts

My latest MSDN Magazine column  – October 2014 issue – has just gone live.

A Pattern for Sharing Data Across Domain-Driven Design Bounded Contexts
Julie Lerman explores a way to mirror data as one scenario for sharing data across DDD bounded contexts.

Even though the solution is available for download, it involves installing and running RabbitMQ and learning my way around the server’s UI. For me that was a fun and almost freeing step of building the solution. It even meant installing Erlang on my laptop. Lots of fun but lots of learning curves.

But it may be more than some readers want to commit to. So I recorded a video of me debugging through the solution so that you can see how it works.

I recommend reading the article first and watching the Domain-Driven Fundamentals course that Steve Smith and I created for Pluralsight will really help. If you don’t have a Pluralsight subscription yet (really?) send me a message through my contact form and I can hook you up with a free trial. Warning…can lead to addiction.

Anyway, here is the video. There is no sound…I’ve used captions to explain. [youtube http://www.youtube.com/watch?v=N55t2g0cRRQ?rel=0]

  Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!  

3 thoughts on “A Pattern for Sharing Data Across Domain-Driven Design Bounded Contexts

  1. Hi,

    what if the consumer (handler) of the event needs more information than the event data? I would assume this would be the norm if there are many subscribers with different requirements etc. and it would create a lot of coupling if the event contained every detail of the “customer” entity..

    Stelios

    1. Mahesh, I don’t have the code in front of me to check so quickest way to find out is to remove the ref and see if the app still compiles. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.