推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
jmjc
V2EX  ›  Python

推荐一个不要 orm 的 Python web 框架

  •  
  •   jmjc · Dec 15, 2020 · 2955 views
    This topic created in 2109 days ago, the information mentioned may be changed or developed.
    用不惯 sqlalchemy, 有什么框架还是 github 项目就 pymysql 这种的吗?
    4 replies  •  2021-01-29 20:41:10 +08:00
    linw1995
        1
    linw1995  
       Dec 15, 2020
    不要用,就别用就好了呀。orm 什么时候和 web framework 捆绑了呢
    AllRightReserve
        2
    AllRightReserve  
       Dec 15, 2020
    在框架里直接写 SQL 语句不就行了
    huichao
        3
    huichao  
       Dec 17, 2020
    不用 ORM, 那我就比较喜欢用 flask, 链接你的数据库,写 raw sql 或调用存储过程。速度快不少呢。
    Cookieeeeee
        4
    Cookieeeeee  
       Jan 29, 2021
    orm 和 web 框架不是两个东西吗,不想用 orm 直接不用就好了,写原生 sql
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   956 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:45 · PVG 06:45 · LAX 15:45 · JFK 18:45
    ♥ Do have faith in what you're doing.