What is "Object-Oriented architecture"? Today, I suddenly realized how to define it in words.
When developing software projects, various functional objects will be categorized and named with a memorable name.
Repeat the functional objects and nouns to generate an architecture of its own.
In the domain layer of DDD (domain-driven design.
1. The system has a user object. Ddd classifies it as entities, and its responsibility is a unique object identified.
2. the user must have a storage device. This storage device's function, DDD, classifies it as a repository. Its responsibility is to allow entities to access system boundaries.
3. The system also provides the function of regularly checking the user's birthday greetings. This scheduled execution function is classified as a service by DDD.
Sort out these functional objects and reassemble them again and again to get a usable system architecture.
For DDD, refer to "Domain-driven design-layered architecture" written by Jed 』.