How to properly implement the level of protection against corruption

I start with the DDD philosophy, and I would like to implement the integration with the legacy system that we have here. In my research on the Internet, I found several articles and samples, but I must admit: it is rather difficult to understand how to properly perform this integration.

Before asking this question, I did a search here, but the results were not useful to me, so I would like to know if it is possible to send or show me a sample implementation of the ACL.

Here I have the following items:

  • Legacy system
  • Outdated database (I need to access)
  • New application to be created using the DDD approach

The initial idea is to access this database in NHibernate, creating only some of the required mapping classes, domain objects, and implementing business rules. According to Eric Evans, this strategy is called [Bubble Context] [1]. I think this strategy will solve my problem, but I need a sample to do it right.

Can someone help me?

+7
domain-driven-design
source share
1 answer

An ACL is a template, not just a piece of code. In what you described, you did not say that you have strong dependencies on an outdated system or you just want some independent part of the code to be built into the current system? With this, you can decide whether your ACL will simply be a database service or whether it will include some packaging in legacy system logic?

The actual parts that you put in the ALC are highly dependent on your implementation. There is a general outline of what you ask for: enter image description here

You can find more information in Eric Evan says .

+6
source share

All Articles