【计算机英语】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
我实在看不懂了
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
我实在看不懂了
英语人气:540 ℃时间:2019-11-06 12:52:06
优质解答
你哪地方看不懂就拿那个地方出来,2b,又没分,又这么长,还不诚恳,机器都不给你翻译
我来回答
类似推荐
- I think that subiect is boring(同义句转换) I( )think that subject is( )
- thinking that you know what in fact you don't is a terrible mistake.
- I think that
- thinking that you know_____in fact you don't is not a good idea.
- English people think that the home is a place to protect themselves from the outside world,not one for others to see and
猜你喜欢
- 1复数 z=2+i (其中为 i 虚数单位),则 z 的模是( ) A.3 B.2 C.5 D.3
- 2You must look after your things,Tom.的中文意思
- 3下列正确的是
- 4(-3)的2002次方+(-3)的2003次方
- 5已知xy=3,x+y=7.(1)求x的2次方+xy+y的2次方的值(2)求(x+y)的2次方的值
- 64又二十分之三平方千米等于( )公顷
- 7求以“回忆童年”为话题写一篇800字以上的作文,谢
- 8卤素灯与白炽灯,节能灯和LED灯的区别
- 9look who ______(cut) trees over there?--they ______ down a lot of trees last sunday.
- 10拗音怎么读,读ao 第三声还是第四声,还是读niu