Tornado from entry level to advanced level creates a technical forum supporting high concurrency

Source: Internet
Author: User

Chapter 2 tornado: from entry level to advanced level to build a technical forum supporting high concurrency-course guidance
Tornado from entry level to advanced level creates a technical forum supporting high concurrency-course guidance

Chapter 2 Development Environment setup)
This section describes how to build a development environment, including navicat, pycharm, and virtualenvwrapper. This section also describes how to download and configure course resources.

Chapter 2 Why tornado
Many people will compare tornado with flask and Django. They only know that tornado is highly concurrent. But because they are not familiar with Tornado's core, Tornado is incorrectly used, resulting in two results: 1. the written system concurrency is not high or even lower. 2. simply understand torando as a Web framework. These are due to insufficient understanding of tornado. ...

Chapter 2 asynchronous and non-blocking
This chapter will show you how to use the coroutine of torandod, so that we can have a quick understanding of torando. asynchronous and non-blocking mainly use socket programming, select, poll, and epoll are extracted step by step. Then we use the select model and use the non-blocking Socket interface to simulate an event loop to experience the asynchronous and non-blocking core, then we introduced two types of coroutine definition using the async and await keywords and coroutine decorators...

Chapter 2 tornado web Basics
This chapter describes the main modules of torando's Web framework. This chapter describes the main modules of Tornado web development, why can't we write blocked I/O interfaces in tornado and the code structure of several core modules in tornado, so that you can combine them with the knowledge points in the previous chapter, in this chapter, we will understand the options, settings, URL ing, UI module, Tornado template, requesthandler, and so on...

Chapter 4 aiomysql message board Function
In this section, we use the basic knowledge of tornado, and use the aiomysql asynchronous MySQL driver to complete the function of a message board.

Chapter 2 peewee Functions
This section consists of three parts: 1. this article describes why we chose peewee as the course's orm and how to use peewee to quickly complete data interaction, such as data storage, deletion, and query. peewee-Asyn, because the Peewee interface is synchronous, we need peewee-async to integrate the Peewee function into tornado. database design, through the previous requirements...

Chapter 2 integrate wtforms into tornado
Form Verification is an important module in web system development. In this chapter, we will integrate wtforms into tornado, by learning wtforms, we can easily complete Form Verification and how to generate HTML through wtforms.

Chapter 2 restful API, requirement analysis, and code structure design
This section describes restful APIs and designs the code structure of the course after analyzing system requirements.

Chapter 4 User logon and Registration
This section describes how to enable tornado asynchronous programming through the login and registration functions. This chapter describes how to use asynchttpclient to send messages asynchronously, in this chapter, we will also use peewee-async to load asynchronous MySQL data into the database. We will use the custom distributed session method to complete distributed session storage. ...

Chapter 4 Development of group functions
In this section, we will develop community group functions. We can create new groups, join groups, review groups, comments, and replies, through this chapter, we can not only learn how to asynchronously save database records, but also how to integrate rich texts into tornado, we will also learn more features of Peewee, such as get_related and model_to_dict, and aiofiles to asynchronously save files. Tornado authenticated decoration...

Chapter 4 development of related Q & A Functions
In this section, we have developed related Q & A functions, including filtering and sorting data through Peewee. In this section, we will use the previous knowledge points to consolidate the learned knowledge points.

Chapter 2 personal Center Function Development
This chapter completes the development of functions related to the personal center. In the personal center, we will be exposed to how to ensure password encryption, we will further learn about features related to personal center, such as aiofiles and Peewee passworfield.

Chapter 4 Deployment and launch
Deployment is the final stage of system development. In this chapter, we will deploy tornado services by deploying an online centos system, in this section, we will explain how to install and configure nginx, install and configure MySQL, and deploy and run nginx and Tornado.

Chapter 2 Summary and prospects
In this chapter, we will sort out and summarize the knowledge points of the course.

: Baidu online storage download

Tornado from entry level to advanced level creates a technical forum supporting high concurrency

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.