Flask and the difference between the Django framework

1)Flask

Flask really "light", is indeed Micro Framework, from Django steering Flask developers will be such a feeling, unless both of which are further used
Flask freedom, flexibility, scalability, choice of many third-party libraries, you can combine their favorite wheels with the development, but also to combine the most popular and powerful Python library
entry is simple, even if not many web development experience, can quickly make the site
ideal for small sites
is very suitable for the development of web services the API
to develop large sites without pressure, but the code needs its own architecture design, development cost depends on the ability and experience of the developers of the
various aspects of performance are equal to or better than Django
Django's own or third-party rave reviews feature on Flask Similarly always find third-party libraries
Flask flexible development, Python would like to master the basic Flask, but it may be mixed Django
used in conjunction with Flask relational database is not weaker than Django, while cooperating with NoSQL database is far better than Django
the Flask more Pythonic than Django, and Python's philosophy is more consistent
(2) Django

Django too heavy, in addition to web framework, ORM and comes with a template engine, flexibility and freedom is not high enough
Django can develop small applications, but there will always be "overkill" feeling
Django's ORM comes with a very good, comprehensive evaluation slightly higher than SQLAlchemy
Django template engine that comes with easy to use, but powerful and comprehensive evaluation of the degree of slightly less Jinja
Django Django comes ORM also coupled with a relational database is too high, and so if you want to use MongoDB NoSQL data, need to select the appropriate third-party libraries, and the overall feeling of Django + SQL is born of a mix, Django + NoSQL cut off half of Django
Django currently supports Jinja template engine and other unofficial
Django's own database management app rave reviews
Django is very suitable for the development of enterprise-level Web site: fast, reliable, stable
Django mature, stable, perfect, but compared to Flask, Django's overall ecology relatively closed
Django Python web framework is a pioneer, multi-user, the richest third-party libraries the best Python library, if you can not be directly used Django, but also be able to find the corresponding transplant
Django is relatively easy to get started, Send the document in detail, perfect, rich relevant information
----------------
Disclaimer: This article is the original article CSDN bloggers "Gray Village Primary School --python Chen" and follow CC 4.0 by-sa copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/xiaochendefendoushi/article/details/80994152

Guess you like

Origin www.cnblogs.com/wenxin1120/p/11387777.html