我从CQRS开始,我非常清楚如何使用写模型。但是,阅读模型不是太多。所以这是我的问题:
Application/Query/ProductPreview/FindProductPreviewByIdQuery.php
Application/Query/ProductPreview/ProductPreviewQueryHandler.php
Application/Query/ProductPreview/ProductPreviewReadModel.php
Application/Query/ProductDetails/FindProductDetailsByIdQuery.php
Application/Query/ProductDetails/FindProductDetailsByIdAndNameQuery.php
Application/Query/ProductDetails/ProductDetailsQueryHandler.php
Application/Query/ProductDetails/ProductDetailsReadModel.php
UI/HTTP/Controller/Query/GetProductPreviewByIdQuery.php
UI/HTTP/Controller/Query/GetProductDetailsByIdQuery.php
UI/HTTP/Controller/Query/GetProductDetailsByIdAndNameQuery.php