matrix67
V2EX  ›  问与答

这是 API 的撰写最佳实践吗?

  •  
  •   matrix67 · Apr 1, 2020 · 1411 views
    This topic created in 2271 days ago, the information mentioned may be changed or developed.
    知乎上面看到的。 https://zhuanlan.zhihu.com/p/20691649

    顺带问问不同语言有类似开源的框架或者例子吗?
    3 replies    2020-04-01 22:50:49 +08:00
    lhx2008
        1
    lhx2008  
       Apr 1, 2020 via Android
    不要过度设计,不要语言绑定
    matrix67
        2
    matrix67  
    OP
       Apr 1, 2020
    @lhx2008 是的,不过看作者说的的确挺好。 看着他是 nodejs 写的。而且有一套自己的 dsl
    also24
        3
    also24  
       Apr 1, 2020
    我觉得这不属于 『 API 撰写』的范围,这应该属于 『 API 网关架构』
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2647 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 09:22 · PVG 17:22 · LAX 02:22 · JFK 05:22
    ♥ Do have faith in what you're doing.