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