what do contract-first and contract-last mean?

后端 未结 2 1247
野的像风
野的像风 2020-12-28 17:26

I am doing some research on web services. I have not written any web service but I am doing a small write up on them.

During my research I\'ve come across terms

2条回答
  •  北海茫月
    2020-12-28 18:09

    Contract-first means you design the way your services are going to communicate with each other before you design the services themselves.

    Contract-last is the other way around – you design how your service is going to work, then make one or more methods available as the interface for other services.

提交回复
热议问题