Domain Driven Design in Node.js Application

前端 未结 3 1118
刺人心
刺人心 2021-01-31 08:41

TL; DR; I\'m looking for trite example of DDD node.js application.


Hi,

I\'m going to create node application. I wonder that I can not find any exa

3条回答
  •  野性不改
    2021-01-31 09:10

    Many would argue that JavaScript is NOT well suited to modeling a complex problem into a domain model and then into code. That's especially the case if the domain is in business, industry and commerce, rather than in computer or data science.

    I'm not saying one can't create a domain model in JavaScript. Just like one could create one in C. But does that mean one should?

    The example you give uses some terminology in domain-driven design, but misses the whole purpose and ethos of applying it.

提交回复
热议问题