An introduction to non-blocking web development with Tornado, an open-source server and simple framework from Facebook/FriendFeed.
Web frameworks like Django, Flask, etc. are great for most traditional web sites. However, there is a growing need to produce web applications that are responsive to external "events", whether a response from Twitter's API or a new message in an online chat room. Newer, non-blocking frameworks like Tornado seek to address this in a scalable manner.
This talk will briefly introduce non-blocking principles and patterns, and move quickly into an overview of the library, as well as use cases and anti- use cases. A portion of the time will also be spent pointing out community libraries that are building on Tornado's foundation.
- Why another framework?
- Intro to Asynchronous Design
- Overview of a Tornado project
- Basic (blocking) Request Handlers
- Asynchronous Handlers
- To block or not to block
- Batteries included
- Auth module
- Options module
- No-SQL libraries
- Twisted integration
- Torn Admin