Selection of Python framework for Web simple application-tornado

Source: Internet
Author: User

Django:

General view:

Personally, Django is fairly balanced and useful. like Django 's Model and Template, you can use it, you don't have to, you don't have to force it. So Django is a heavyweight, and it's probably smattering.

For general Web applications, it is highly recommended to use Django.

If content-based Web site Django is a relatively good choice, such as blog , such as the background, form and ORM is very convenient. The downside is that it's too big to use Django 's home without the good stuff, and the coupling between modules is serious.

Negative reasons:

The frame is too complex and too slow to be efficient

Tornado:

General view:

In many cases the petite elegance of web.py enough, personally like tornado If you are building a Span style= "Font-family:times New Roman" >web application words more recommended tornado tornado similar web.py xd is designed for webapp node.js

Advantages: Fast speed,gae support better;

Sure reason: small and efficient

web.py:

General view:

Do blog django Labor-saving, definition MODELS,  writing a front desk is basically done. &NBSP, tornado flexible Span style= "Font-family:times New Roman" >,  webpy webpy The author's been gone so long. ,  This kind of single-player-dominated project has not experienced normal excesses, After some existing applications have been moved out, a small number of maintainers out of the ,  ,  should not be considered at all.

web.py can be small site ah, very convenient, unit internal data synchronization ah what. I am sure of the value of its existence.

Negative reason: This framework is likely to be unsupported in the future

Flask:

General view:

Advantages: Active development, fast version upgrade, multi-function, rich documentation;

Disadvantage: low efficiency, insufficient support for Gae ;

If your environment is Linux,OS X or Cygwin, use the following command to install flask and expansion packs, one by one:

Flask/bin/pip Install flask

Flask/bin/pip Install Flask-login

Flask/bin/pip Install Flask-openid

Flask/bin/pip Install Flask-mail

Flask/bin/pip Install Flask-sqlalchemy

Flask/bin/pip Install Sqlalchemy-migrate

Flask/bin/pip Install Flask-whooshalchemy

Flask/bin/pip Install FLASK-WTF

Flask/bin/pip Install Flask-babel

Flask/bin/pip Install Flup

Negative reasons: A component, installation too troublesome

Bottle:

General view:

Need to implement too many things, plus do not know what performance will be;

Negative reasons:

Bottle has only one file, but lacks session support.

Selection of Python framework for Web simple application-tornado

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.