open-solid/cqs
最新稳定版本:v1.0.4
Composer 安装命令:
composer require open-solid/cqs
包简介
Contract for Command Query Separation pattern
README 文档
README
Command-Query Separation (CQS) is a principle in software design that states a function should either be a command that performs an action (modifies state) or a query that returns data, but not both. This separation ensures clarity and predictability in code. Commands alter the state of the system, while queries provide information without causing side effects.
See more https://martinfowler.com/bliki/CommandQuerySeparation.html
Installation
composer require open-solid/cqs
License
This software is published under the MIT License
统计信息
- 总下载量: 83
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-23