Tornado
  • 用户指南
    • Introduction
    • Asynchronous and non-Blocking I/O
    • Coroutines
    • Structure of a Tornado web application
    • Templates and UI
    • Authentication and security
    • Running and deploying
  • Web 框架
    • tornado.web — RequestHandler and Application classes
    • tornado.template — 提供灵活的输出方式
    • tornado.escape — 编码以及字符串操作
    • tornado.locale — 国际化支持
    • tornado.websocket — Bidirectional communication to the browser
  • HTTP servers and clients
    • tornado.httpserver — Non-blocking HTTP server
    • tornado.httpclient — Asynchronous HTTP client
    • tornado.httputil — 操作 HTTP headers 和 URL
    • tornado.http1connection – HTTP/1.x client/server 实现
  • 异步网络
    • tornado.ioloop — 主事件循环
    • tornado.iostream — 非阻塞 socket 相关封装
    • tornado.netutil — 各项网络工具
    • tornado.tcpclient — IOStream connection factory
    • tornado.tcpserver — Basic IOStream-based TCP server
  • Coroutines and concurrency
    • tornado.gen — Simplify asynchronous code
    • tornado.concurrent — Work with threads and futures
    • tornado.process — 多进程实用工具
  • Integration with other services
    • tornado.auth — Third-party login with OpenID and OAuth
    • tornado.wsgi — 和其它 Python 框架、服务器结合
    • tornado.platform.asyncio — Bridge between asyncio and Tornado
    • tornado.platform.caresresolver — Asynchronous DNS Resolver using C-Ares
    • tornado.platform.twisted — Bridges between Twisted and Tornado
  • 实用工具
    • tornado.autoreload — Automatically detect code changes in development
    • tornado.log — 提供日志支持
    • tornado.options — 命令行解析
    • tornado.stack_context — Exception handling across asynchronous callbacks
    • tornado.testing — 提供异步代码的测试支持
    • tornado.util — 常规的实用工具
  • 发布说明
    • What’s new in the next release of Tornado
    • What’s new in Tornado 4.0.2
    • What’s new in Tornado 4.0.1
    • What’s new in Tornado 4.0
    • What’s new in Tornado 3.2.2
    • What’s new in Tornado 3.2.1
    • What’s new in Tornado 3.2
    • What’s new in Tornado 3.1.1
    • What’s new in Tornado 3.1
    • What’s new in Tornado 3.0.2
    • What’s new in Tornado 3.0.1
    • What’s new in Tornado 3.0
    • What’s new in Tornado 2.4.1
    • What’s new in Tornado 2.4
    • What’s new in Tornado 2.3
    • What’s new in Tornado 2.2.1
    • What’s new in Tornado 2.2
    • What’s new in Tornado 2.1.1
    • What’s new in Tornado 2.1
    • What’s new in Tornado 2.0
    • What’s new in Tornado 1.2.1
    • What’s new in Tornado 1.2
    • What’s new in Tornado 1.1.1
    • What’s new in Tornado 1.1
    • What’s new in Tornado 1.0.1
    • What’s new in Tornado 1.0
 
Tornado
  • Docs »
  • 用户指南
  • View page source

用户指南¶

  • Introduction
  • Asynchronous and non-Blocking I/O
    • Blocking
    • Asynchronous
    • Examples
  • Coroutines
    • How it works
    • Coroutine patterns
      • Interaction with callbacks
      • Calling blocking functions
      • Parallelism
      • Interleaving
      • Looping
  • Structure of a Tornado web application
    • The Application object
    • Subclassing RequestHandler
    • Handling request input
    • Overriding RequestHandler methods
    • Error Handling
    • Redirection
    • Asynchronous handlers
  • Templates and UI
    • Configuring templates
    • Template syntax
    • Internationalization
    • UI modules
  • Authentication and security
    • Cookies and secure cookies
    • User authentication
    • Third party authentication
    • Cross-site request forgery protection
  • Running and deploying
    • Processes and ports
    • Running behind a load balancer
    • Static files and aggressive file caching
    • Debug mode and automatic reloading
    • WSGI and Google App Engine
Next Previous

© Copyright 2011, Facebook.

Built with Sphinx using a theme provided by Read the Docs.