Proposed new feature or change
The 'Domain' section provides an explanation of the concepts associated with Domain-Driven Design (DDD), while the 'Service' section outlines one such concept.
While DDD can be useful, it is not directly related to the concepts provided by the Yii3 framework. It is mostly used in complex domains and can be excessive for simple applications. The MVC design pattern, on the other hand, is more suitable for most web applications, where the Model can be divided into Domain and Data layers.
Therefore, the 'Domain and Service' subsection should be removed or replaced in the Cookbook.
Proposed new feature or change
The 'Domain' section provides an explanation of the concepts associated with Domain-Driven Design (DDD), while the 'Service' section outlines one such concept.
While DDD can be useful, it is not directly related to the concepts provided by the Yii3 framework. It is mostly used in complex domains and can be excessive for simple applications. The MVC design pattern, on the other hand, is more suitable for most web applications, where the Model can be divided into Domain and Data layers.
Therefore, the 'Domain and Service' subsection should be removed or replaced in the Cookbook.