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

Tornado Web hits 1.0

  •  
  •   Livid · 2010-07-24 05:23:28 +08:00 · 5651 次点击
    这是一个创建于 5237 天前的主题,其中的信息可能已经有所发展或是发生改变。
    5 条回复    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
    OP
       2010-07-24 05:30:53 +08:00
    New features:
    * Improved support for running other WSGI applications in a Tornado
    server (tested with Django and CherryPy)
    * Improved performance on Mac OS X and BSD (kqueue-based IOLoop), and
    experimental support for win32
    * Rewritten AsyncHTTPClient available as
    tornado.httpclient.AsyncHTTPClient2 (this will become the default in a
    future release)
    * Support for standard .mo files in addition to .csv in the locale module
    * Pre-forking support for running multiple Tornado processes at once
    (see HTTPServer.start())
    * SSL and gzip support in HTTPServer
    * reverse_url() function refers to urls from the Application config by
    name from templates and RequestHandlers
    * RequestHandler.on_connection_close() callback is called when the
    client has closed the connection (subject to limitations of the
    underlying network stack, any proxies, etc)
    * Static files can now be served somewhere other than /static/ via the
    static_url_prefix application setting
    * URL regexes can now use named groups ("(?P<name>)") to pass
    arguments to get()/post() via keyword instead of position
    * HTTP header dictionary-like objects now support multiple values for
    the same header via the get_all() and add() methods.
    * Several new options in the httpclient module, including
    prepare_curl_callback and header_callback
    * Improved logging configuration in tornado.options.
    * UIModule.html_body() can be used to return html to be inserted at
    the end of the document body.
    Livid
        2
    Livid  
    MOD
    OP
       2010-07-24 05:31:02 +08:00
    Backwards-incompatible changes:
    * RequestHandler.get_error_html() now receives the exception object as
    a keyword argument if the error was caused by an uncaught exception.
    * Secure cookies are now more secure, but incompatible with cookies
    set by Tornado 0.2. To read cookies set by older versions of Tornado,
    pass include_name=False to RequestHandler.get_secure_cookie()
    * Parameters passed to RequestHandler.get/post() by extraction from
    the path now have %-escapes decoded, for consistency with the
    processing that was already done with other query parameters.
    jorakura
        3
    jorakura  
       2010-07-24 06:16:10 +08:00
    不太懂。。。Tornado是做GAE开发用的server?
    Livid
        4
    Livid  
    MOD
    OP
       2010-07-24 06:38:56 +08:00
    @jorakura 是一个类似 GAE 的 Python Web Framework/Server,可以用来做 web app。大部分 GAE app 稍加更改即可跑在 Tornado 上。

    FriendFeed 的人(前 Google 员工)做的,FF 就跑在 Tornado 上。现在 FF 被 Facebook 收购之后,Facebook 在维护这个东西。
    ratazzi
        5
    ratazzi  
       2010-07-24 08:38:29 +08:00
    0.1, 0.2, 1.0 居然是同一天上传的,冏
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1674 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:35 · PVG 00:35 · LAX 08:35 · JFK 11:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.