Tornado Web hits 1.0

2010-07-24 05:23:28 +08:00
 Livid
http://www.tornadoweb.org/
5547 次点击
所在节点    Python
5 条回复
Livid
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
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
2010-07-24 06:16:10 +08:00
不太懂。。。Tornado是做GAE开发用的server?
Livid
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
2010-07-24 08:38:29 +08:00
0.1, 0.2, 1.0 居然是同一天上传的,冏

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/843

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX