Relative Content

Tag Archive for clean-architecture

What value does the mediator pattern add beyond dependency injection?

Does the mediator pattern add any value beyond dependency injection? I am encountering the mediator pattern for the first time in context of this sample application, which is meant to demonstrate how to follow Clean Architecture in .NET. I assume this pattern was included so it wouldn’t be too distracting for devs who expect it to be used; but it wasn’t the main focus of the sample code, or the book that this code accompanies.

How handle foreign keys in bounded contexts inside a monolith?

in my company we have a Django monolithic application. To be clear, we are not looking into moving to micro-services. For the past few months, I have reading and implementing a DDD architecture inside the monolith, trying to setup the django modules as isolated as possible from the rest of the application. I have somehow successfully done this, except for the testing part.