推荐学习书目
› 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
lin
V2EX  ›  Python

Django or Tornado? Why?

  •  
  •   lin ·
    Quasimo · Dec 6, 2011 · 8559 views
    This topic created in 5455 days ago, the information mentioned may be changed or developed.
    12 replies  •  1970-01-01 08:00:00 +08:00
    halida
    halida
    Dec 6, 2011
    1
    他们针对的是不同的需求, 只要稍微熟悉他们一些, 就不会对应用场景产生疑问.
    django比较大, 功能丰富, 适合常见的web开发,
    django具有很好的长连接支持, 适合高性能.
    xiaket
    xiaket
    Dec 6, 2011
    2
    求运行速度, tornado. 求开发速度, django.
    1212e
    1212e
    Dec 6, 2011
    3
    @halida 2个都是django?...
    reorx
    reorx
    Dec 6, 2011
    4
    Tornado is a non-blocking web server bound with some libraries and tools, while Django is a web framework.

    see explanation about frameworks vs. libraries here:
    http://docs.pylonsproject.org/projects/pyramid/en/1.2-branch/narr/introduction.html
    xiaket
    xiaket
    Dec 6, 2011
    5
    @1212e 他说的后面那个是tornado
    bruce
    bruce
    Dec 6, 2011
    6
    django is better for beginners.
    halida
    halida
    Dec 6, 2011
    7
    晕, 写错了, 后面那个是tornado....
    feilaoda
    feilaoda
    Dec 6, 2011
    8
    别碰django
    killpanda
    killpanda
    Dec 6, 2011
    9
    @feilaoda 为啥?
    xingzhi
    xingzhi
    Dec 13, 2011
    10
    最近在学习Django,我觉得了解这些优缺点的最好方式就是两者都接触,亲身体验就能得出结论了。
    虽然,时间成本大了:)
    tioover
    tioover
    Dec 13, 2011
    11
    学了django和tornado
    感觉tornado外加各种其它的库也能做出django的效果,虽然没django整合的好
    SQLAlchemy(orm) + elixir(orm简化) + wtforms(表单) + jinja2(模板) + tornado(基础&Server)
    比较而言Django虽然耦合度高,不能自由的选择组件,但是功能统一,比较不折腾。

    都可以学学,新手可以先学django,老手就随便了
    est
    est
    Dec 13, 2011
    12
    django可以用tornado跑。。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2504 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 11:07 · PVG 19:07 · LAX 03:07 · JFK 06:07
    ♥ Do have faith in what you're doing.