News for hackers. Stuff that matters.
Re:Domain-Driven Design by NicoJuicy on Monday September 27, 2021 @02:57AM (#28667855)
If it's just crud. Create a minimal API that handles it to show the difference.

Which programming language? There was some work shown in .net recently

Re:Domain-Driven Design by oscarcp on Monday September 27, 2021 @03:01AM (#28667885)
Python, FastAPI... so you can imagine how something as simple as a CRUD becomes quickly impossible to manage as soon as you ignore everything and start creating repositories, queries, use cases, etc. for a single endpoint.

I agree with you that a minimal implementation should handle it but... someone had wet dreams with DDD and everything has to be DDD now :)

Re:Domain-Driven Design by NicoJuicy on Monday September 27, 2021 @03:42AM (#28668099)
And for something like "translations crud" this shouldn't be required ( which service needs to be updated from a translation update?).

Perhaps that's a perfect example to implement it and push it. ( depends on how far you're willing to go and push back against who)

Look for a fancy name to describe the "pattern" could help.