Declarative API
最近工作上做一些declarative api相关的project,所以趁这机会总结一下目前互联网上能搜到的declarative api相关的资料,不会有涉密的内部信息的lol 什么是declarative呢? Declarative programming is about what you do, not how you do it. 本质上来说,declarative的世界里,user不再告诉server怎么去做piazza,比如先和面,再放酱料,再放烤箱之类的一系列步骤。instead,你只要告诉server我要一个13inch的夏威夷风味pizza。server知道如何制作pizza,其实就是把一部分logic抽象到server段。 Declarative APIs free developers from reinventing the wheel so that they can focus on creative problems and competitive differentiation. References [1] https://www.twilio.com/blog/2017/05/declarative-apis.html