当一个用户变更订单或当企业改变价格时,我们不能认为这些动作是正常流程的一部分,因此它们与实体(如订单)的生命周期无关。
When a customer changes the order or when the business changes a price, we cannot consider these actions part of the normal flow, so they are not associated with the entity (such as order) lifecycle.
为了弄清楚概念,我们可以看看SOAP和REST之间的显著区别。SOAP主要关注的是动作(动词),而REST则面向的是实体(名词)。
To be clear, there are significant differences between SOAP and REST, where SOAP is primarily concerned with action (verbs) and REST is more oriented towards entities (nouns).
这个动作允许本地实体以最佳方式决定怎样存储一个对象。
This behavior allows the local entity to best decide how to store an object.
应用推荐