【计算机英语】The fact that I think the method is atomic signals that ...
题目
【计算机英语】The fact that I think the method is atomic signals that ...
The fact that I think the method is atomic signals that we should use a Service [Evans DDD] instead to make the whole thing more explicit.The Service could check the current debt and therefore be used proactively by the Order at good places in time.It could also be used pretty much reactively at save time,and some sort of request could be put on a queue and be used reactively after save.The Service would probably use the same Repository method as was just discussed,but that's not anything the caller needs to know,of course.
What should it do reactively after the save?Perhaps move the order to one of two states so that when the user stores an order,it goes into state NewOrder.Then the Service kicks in and moves the order to state Accepted or Denied
我实在看不懂了
答案
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
最新试题
热门考点
- 钟表的分针旋转一周,时针旋转30度.对还是错?
- n边形的每个外角都是24度,则边数n为_.
- 高中历史懂得网友进
- 英语高手请进
- “刘翀偶得古兵书,伏读经年,自谓可将兵十万.”出自?名称?刘翀是个怎样的人?
- 欲怎么组词
- 设函数f(x)=|x^2-4x-5|,设集合A={x|f(x)≥5},B=(-∞,-2]∪[0,4]∪(6,+∞],
- 句型转换:My father usually goes to work by car(不改变句子原意)要怎么改啊!
- 把下列句子按正确顺序组成一段话
- 已只m+n=11,m=2n,求3m