We should not use the concept of blind people touching elephants for analogy. Are these DDD designs? In fact, there is a problem here, that is, when describing some abstract concepts through words and diagrams, there will be great differences. If you open several DDD articles on the Internet, although each author says he carries out architecture design according to DDD ideas, careful students will find that the structure description and architecture drawings in each author’s DDD articles are very different. Everyone wants to master good design methods to solve problems in software development. There are many articles about DDD on the Internet, which is of course a good thing. So which design method is better? How do you know which DDD is more orthodox and not distorted by others? This paper attempts to use the concept of “DDD as code“, that is, use DSL code to describe DDD, unify the design idea of DDD, introduce in detail how to complete the expression of a project based on DDD DSL based on contextmapper through a case, and share the relationship between DDD design process and micro service in reality. Introduction:Compared with the conventional MVC architecture, DDD is more abstract and difficult to understand, and various developers have different interpretations of DDD.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |