It is a memo that keeps the thought flow for writing the Advent calendar.
I do DDD in-house, but I have never practiced DDD. Let's try DDD individually. Isn't it easier to model what you like? I thought, I decided to express my favorite Digimon Adventure in DDD, Until now.
I have no experience I bought it at a technical bookstore The trajectory of a chibi dragon traveling through the forest of mokumoku modeling https://taimen.jp/f/867 Try with reference to
Speaking of Digimon Adventure The evolution of Digimon is also good, The growth of children is also good There are various, but If you spread it too much, you can't do anything, This time, I will try "Agumon" as a theme.
I tried to write "Who does what will happen" in the book, so I wrote it.
--When Agumon evolves, it becomes Greymon --Greymon becomes a super-evolving MetalGreymon --When Greymon evolves into darkness, it becomes SkullGreymon. ――When MetalGreymon evolves to the ultimate, it becomes WarGreymon --When Agumon evolves into a warp, it becomes WarGreymon.
Will Agumon become WarGreymon when it evolves into a warp? Or is warp evolution the evolution of Agumon, Greymon, MetalGreymon, and WarGreymon in that order? In anime, whenever you evolve into MetalGreymon, you always enter the evolution scene to Greymon, When you evolve into WarGreymon, you will enter the evolutionary motion from Agumon, right? Thinking about it I have evolved Agumon into WarGreymon. I settled on the definition of. So, after official confirmation, it seems that the evolution from MetalGreymon to WarGreymon is the ultimate evolution. http://digimon-adventure.net/tri/evolution/agumon.html In other words, "ultimate evolution" and "warp evolution" are separate words.
Next, in the book, when you have a use case, Let's extract words that correspond to people, things, and things. Because it is written, practice. What I thought about here was that "people, things, things" was a noun. So the verb "evolve" should not be omitted here.
--Agumon --Greymon --Metal Graymon --SkullGreymon --WarGreymon
Here is the domain model. Agumon who went up in the glossary to the domain. Draw a line on the relevant domain according to the use case.
It looks like this. Next, I'm writing a class diagram with this.
Recommended Posts