原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
89 原书第12章|Composite
surface, too. Any traversal of a route involves multiple collections of different types of objects.
Enter COMPOSITE. It would be nice, for certain clients, to treat the different levels in this construct uniformly, as routes made up of routes. Conceptually this view is sound. Every level of Route is a movement of a container from one point to another, all the way down to an individual leg. (See Figure 12.8.)
Figure 12.8. A class diagram using COMPOSITE Now, the static class diagram does not tell us as much
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch12lev1sec2.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce