2022 年 2 月 - CQRS === ## CQRS 是什麼 https://martinfowler.com/bliki/CQRS.html ## Event Sourcing ### 範例 ```ruby= class Event < Hash; end class Command; end class EventStore < Array; end # 待補 ``` ### Rails - [Rails Event Store](https://railseventstore.org/) - [sequent](https://www.sequent.io/) ### 延伸:Reactive 機制 ## Domain-Driven Development ### 下次主題 * 筆記/知識管理工具? -> 0 * flutter -> 1 * NFT/smart contract -> 2 * next.js: https://nextjs.org/docs/basic-features/data-fetching/overview -> 1 * **prism: https://github.com/prism-rb/prism -> 3**