推荐学习书目
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 · 8075 views
    This topic created in 5278 days ago, the information mentioned may be changed or developed.
    12 replies    1970-01-01 08:00:00 +08:00
    halida
        1
    halida  
       Dec 6, 2011
    他们针对的是不同的需求, 只要稍微熟悉他们一些, 就不会对应用场景产生疑问.
    django比较大, 功能丰富, 适合常见的web开发,
    django具有很好的长连接支持, 适合高性能.
    xiaket
        2
    xiaket  
       Dec 6, 2011
    求运行速度, tornado. 求开发速度, django.
    1212e
        3
    1212e  
       Dec 6, 2011
    @halida 2个都是django?...
    reorx
        4
    reorx  
       Dec 6, 2011
    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
        5
    xiaket  
       Dec 6, 2011
    @1212e 他说的后面那个是tornado
    bruce
        6
    bruce  
       Dec 6, 2011
    django is better for beginners.
    halida
        7
    halida  
       Dec 6, 2011
    晕, 写错了, 后面那个是tornado....
    feilaoda
        8
    feilaoda  
       Dec 6, 2011
    别碰django
    killpanda
        9
    killpanda  
       Dec 6, 2011
    @feilaoda 为啥?
    xingzhi
        10
    xingzhi  
       Dec 13, 2011
    最近在学习Django,我觉得了解这些优缺点的最好方式就是两者都接触,亲身体验就能得出结论了。
    虽然,时间成本大了:)
    tioover
        11
    tioover  
       Dec 13, 2011
    学了django和tornado
    感觉tornado外加各种其它的库也能做出django的效果,虽然没django整合的好
    SQLAlchemy(orm) + elixir(orm简化) + wtforms(表单) + jinja2(模板) + tornado(基础&Server)
    比较而言Django虽然耦合度高,不能自由的选择组件,但是功能统一,比较不折腾。

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