CQRS
ref:
http://johnnycoder.com/blog/2009/12/18/learn-domain-driven-design/
http://www.codeproject.com/Articles/555855/Introduction-to-CQRS
通常進行CRUD會有二個問題
collaboration 同時操作相同資料時
staleness 某筆資料, 當A查詢後, B修改
collaboration 同時操作相同資料時
staleness 某筆資料, 當A查詢後, B修改
Command
Query
image source : http://www.udidahan.com/2009/12/09/clarified-cqrs/
image source : http://www.codeproject.com/Articles/555855/Introduction-to-CQRS
image source : http://msdn.microsoft.com/en-us/library/jj591573.aspx
0 意見:
張貼留言