原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
46 原书第06章|Repositories
tance may be created), but it is the same conceptual object, still in the middle of its life cycle.
These two views can be reconciled by making the REPOSITORY delegate object creation to a FACTORY, which (in theory, though seldom in practice) could also be used to create objects from scratch.
Figure 6.22. A REPOSITORY uses a FACTORY to reconstitute a preexisting object. This clear separatio
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch06lev1sec3.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce