Knowing almost technical solutions

Source: Internet
Author: User
Keywords Know http first exploration
Tags aliyun developed framework html http index learn link

Know the whole http://www.aliyun.com/zixun/aggregation/11116.html "> The site map is as follows:

Knowing is rarely used in the development of a Web site in Python, but also a lot of places worth learning, from knowing we can also understand some of the new WEB technology.

First, the Python framework

Knowing the current use of the Tornado framework. Tornado Tornado Web Server, a Web server and Web application framework written in Python language, is used by FriendFeed in its own website FriendFeed. After being acquired by Facebook, the framework is open to the public as open source software.

Reference link: http://zh.wikipedia.org/wiki/Tornado

Learning documents: http://www.tornadoweb.cn/documentation

Second, the database

MySQL is currently used as the main memory, the use of SqlAlchemy for ORM database modeling or mapping.

Third, cache technology

Knowing to use Redis for caching, queuing, counting, or tasks, use Redis-Py to connect clients to it.

Redis reference link: http://redis.readthedocs.org/en/latest/index.html

Redis-Py reference link: http://redis-py.readthedocs.org/en/latest/index.html

Four, Javascript framework

Knowingly using Google's Closure Library as a front-end JavaScript framework.

Fifth, load handling

Currently almost used to do reverse proxy nginx, nginx to do large amounts of data such as static I / O operation.

Sixth, the picture service

Upyun, who used to know it, has now migrated to a photo service that she knows about it.

Seven, mail service

Knowing the e-mail from the beginning to use Amazon's SES, SES some of the features can not meet the demand, has now been converted into Mailgun.

Eight, the message system

Knowing that the messaging system uses the comet implementation, comet is a "server push" technology based on a long http connection.

Nine, the virtual environment

As a Python site, it is very likely that Virtualenv will be the solution to the purely packet-based environment.

Chinese Document Address: http://virtualenv-chinese-docs.readthedocs.org/en/latest/index.html

Ten, code deployment

The common Python project basically uses Fabric for deployment, and does not know which one to use.

Eleventh, search to achieve

Knowing the use mmseg do Chinese word segmentation, the corresponding root exists redis as the key, the database id as the value, each data item is a zset collection. Search according to the key to find the corresponding value.

Related Article

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.