Over a million developers have joined DZone.

Tornado 2.2 Gets Expanded Support, Improved Compatibility

DZone's Guide to

Tornado 2.2 Gets Expanded Support, Improved Compatibility

· Web Dev Zone ·
Free Resource

Jumpstart your Angular applications with Indigo.Design, a unified platform for visual design, UX prototyping, code generation, and app development.

For those unfamiliar with the "open source version of the scalable, non-blocking web server and tools that power FriendFeed," Tornado is different from typical Python frameworks in that it is non-blocking, allowing it to process thousands of standing connections simultaneously, and making it ideal for real-time web services.  While Tornado 2.0 provided some improvements, it also created some issues with backwards compatability:

Tornado 2.0 introduces several potentially backwards-incompatible changes, including in particular automatic escaping of template output.

-- Tornadoweb.org

So it should be no surprise that the big news for this release is the improved compatability between Twisted and Tornado. Other improvements of note are:

  • Updated and expanded WebSocket support
  • Template errors now generate better stack traces
  • Better exception handling in tornado.gen
  • tornado.simple_httpclient disables SSLv2

Tornado requires Python 2.5, 2.6, 2.7, or 3.2, and is designed to run on most Unix-like platforms, though Linux and BSD (including Mac OS X) are preferred.

For a full list of features for Tornado 2.2, visit tornadoweb.org, or to download Tornado, check out the GitHub page.

Take a look at an Indigo.Design sample application to learn more about how apps are created with design to code software.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}