DEV Community

Discussion on: Domain Driven Disaster

Collapse
 
neemzy profile image
Tom Panier

How can you guarantee your business logic works as intended in such a scenario? You can't write tests for it, since it isn't part of your codebase.

It sounds to me like you've set up a framework. Probably a good one, but that's not what it takes to meet your users' expectations. I also have trouble to believe runtime configuration can cover every single possible need, business-wise.

Your points against microservices are fair enough, given they're not an universal solution. Neither is DDD (even if it's a global step forward in theory, as it encourages software developers to not intertwine business logic with technical layers). Neither is your own - but I know you agree with that.