CRUD in DDD
看了这个贴 http://stackoverflow.com/questions/1883107/cqrs-and-crud-screens
Greg在后面说"I may not really care why a name is changing in my domain where I ship products to people and only need that data to print mailing labels. "
确实, DDD中一般没有Hard Delete, 还有一些操作对于Domain没有明确的含义, 这些操作明显不应该放在Domain中,也没必要统统封装成Command
如果这样就会有一些问题,
1, CRUD放在哪儿呢? 或者说在哪里调用Repo的CRUD操作, 在client, application or .... ?
2, Event Sourcing 还能实施么?