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
hustlzp
V2EX  ›  Python

Flask中如何使用RMDBS?

  •  
  •   hustlzp ·
    hustlzp · 2013-03-22 10:47:24 +08:00 · 2899 次点击
    这是一个创建于 4054 天前的主题,其中的信息可能已经有所发展或是发生改变。
    刚接触Flask不久,目前操作MySQL用的是MySQLdb库,不过写多了之后感觉蛮烦的,每次都要写一大串SQL语句CRUD,所以打算另寻出路。

    大家能否分享下平时使用RMDBS的方法?Flask官方文档中推荐了SQLAlchemy这种ORM来作为RMDBS的access层,正在看文档,不知道好不好用...
    4 条回复    1970-01-01 08:00:00 +08:00
    fishsjoy
        1
    fishsjoy  
       2013-03-22 10:56:10 +08:00
    flask-sqlalchemy
    phuslu
        2
    phuslu  
       2013-03-22 10:56:34 +08:00
    flask-admin 可用度很高。
    ivanlw
        3
    ivanlw  
       2013-06-04 13:30:22 +08:00
    最近也在用Flask写东西,不知道楼主有什么心的方案没有……奇怪这个帖子这么冷清?
    hustlzp
        4
    hustlzp  
    OP
       2013-06-04 13:46:31 +08:00
    @ivanlw 最近在做Node相关的项目,过段时间再重整Flask,计划多尝试几个 http://flask.pocoo.org/extensions/ 列出的extension。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1000 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 19:18 · PVG 03:18 · LAX 12:18 · JFK 15:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.