Tornado is an asynchronous Python web framework that allows for non-blocking and scalable web applications. It uses asynchronous requests, has a simple database API without an ORM, and programmer-friendly templates. Tornado has proven successful in production at FriendFeed and is well-suited for real-time web services, popular dynamic sites, REST APIs, and non-CMS sites. The document provides an example of using Tornado to make an asynchronous Twitter API call and generate a Twitter badge.
1 of 13
More Related Content
Quick'n'Dirty Tornado Intro
1. quickndirty
TORNADO intro
Teemu Kurppa
www.dirtyaura.org/blog
Twitter: teemu
Huikea Experience
Social mobile gaming startup
www.huikea.com
4. TORNADO
asynchronous requests
simple clean DB API, no ORM
programmer-friendly templates
readable codebase
proven in production: FriendFeed
5. TORNADO
Probably good for
real-time web services (hanging GETs to poll)
super-popular dynamic sites
non-web REST services
non-CMS sites
for devs like me
9. Programmer-friendly templates
{% for index,value in entries.iteritems() %}
{{ index }} : {{ value }
{% end %}
{% for value in entries %}
{{ forloop.counter0 }} : {{ value }}
{% endfor %}