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.