V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2020-12-15 10:58:36 +08:00 · 1727 次点击
    这是一个创建于 1230 天前的主题,其中的信息可能已经有所发展或是发生改变。
    用不惯 sqlalchemy, 有什么框架还是 github 项目就 pymysql 这种的吗?
    4 条回复    2021-01-29 20:41:10 +08:00
    linw1995
        1
    linw1995  
       2020-12-15 13:35:37 +08:00
    不要用,就别用就好了呀。orm 什么时候和 web framework 捆绑了呢
    AllRightReserve
        2
    AllRightReserve  
       2020-12-15 16:28:30 +08:00
    在框架里直接写 SQL 语句不就行了
    huichao
        3
    huichao  
       2020-12-17 18:27:12 +08:00
    不用 ORM, 那我就比较喜欢用 flask, 链接你的数据库,写 raw sql 或调用存储过程。速度快不少呢。
    Cookieeeeee
        4
    Cookieeeeee  
       2021-01-29 20:41:10 +08:00
    orm 和 web 框架不是两个东西吗,不想用 orm 直接不用就好了,写原生 sql
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1017 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 106ms · UTC 22:24 · PVG 06:24 · LAX 15:24 · JFK 18:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.