Asynchronous Web Development with Tornado

Summary

An introduction to non-blocking web development with Tornado, an open-source server and simple framework from Facebook/FriendFeed.

Description

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.

Outline:

  1. Introduction
    1. Why another framework?
    2. Intro to Asynchronous Design
  2. Overview of a Tornado project
    1. a. Application
    2. b. Basic (blocking) Request Handlers
    3. c. Templates
    4. d. Asynchronous Handlers
    5. e. To block or not to block
  3. Batteries included
    1. Auth module
    2. Options module
    3. Database
    4. UIModules
    5. Security
  4. Community
    1. a. Tornad.io
    2. b. No-SQL libraries
    3. c. Twisted integration
    4. d. Torn Admin
  5. Q[HTML REMOVED]