爱意满满的作品展示区。
ericls

学习 ASGI,从头撸一个 ASGI web 框架

  •  1
     
  •   ericls ·
    ericls · Jun 22, 2020 · 3255 views
    This topic created in 2324 days ago, the information mentioned may be changed or developed.
    https://shenli.dev/2020/06/20/asgi-from-scratch.html

    好久没写东西了,写一个练练手,希望能坚持一段时间。
    谢谢反馈
    希望对有需要的人有帮助
    8 replies  •  2020-06-27 19:29:43 +08:00
    Visionhope
    Visionhope
    Jun 22, 2020 via Android
    1
    看了一下,结合最近玩 fastapi 的经历,感觉异步 python 很火的样子,尤其是在 web 这一块
    ericls
    ericls
    OP
    Jun 22, 2020 via iPhone
    2
    @Visionhope 冷静 不要炒作 不要跟风
    ericls
    ericls
    OP
    Jun 26, 2020
    3
    哪个大佬给我放到 hacker news 首页去了
    feiandxs
    feiandxs
    Jun 26, 2020
    4
    一切都像 Flask……

    我指 @route 的写法哈哈哈
    chuanqirenwu
    chuanqirenwu
    Jun 26, 2020
    5
    GitHub 地址呢?
    ericls
    ericls
    OP
    Jun 26, 2020 via iPhone
    6
    @feiandxs 因为 flask 也是用了那个 werkzeug

    不得不感叹 这个 werkzeug 真是坚固耐用。
    ericls
    ericls
    OP
    Jun 26, 2020 via iPhone
    7
    @chuanqirenwu 感觉还没能达到一个开源项目的标准 就是一些代码片段罢了。 不过可以整理整理放 gist
    chuanqirenwu
    chuanqirenwu
    Jun 27, 2020
    8
    @ericls soga, 推荐 index.py ,源码挺值得学习
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1562 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 23:03 · PVG 07:03 · LAX 15:03 · JFK 18:03
    ♥ Do have faith in what you're doing.