【Flask】Flask overview

Flask overview

What is Web Framework?

Web Application Framework (Web Application Framework) or simply Web Framework (Web Framework) represents a collection of libraries and modules that enable Web application developers to write applications without worrying about low-level details such as protocols and thread management.

What is Flask?

Flask is a web application framework written in Python. It was developed by  Armin Ronacher  , who leads an international team of Python enthusiasts called Pocco. Flask is based on Werkzeug WSGI toolkit and Jinja2 template engine. Both are Pocco projects.

WSGI

The Web Server Gateway Interface (WSGI) has been used as the standard for Python web application development. WSGI is a specification for a common interface between a web server and a web application.

Tool

It is a WSGI toolkit that implements request, response objects and utility functions. This enables web frameworks to be built on top of it. The Flask framework uses Werkzeug as one of its foundations.

jinja2

Jinja2 is a popular template engine for Python. The Web template system combines templates with specific data sources to present dynamic web pages.

Flask is often called a microframework. It aims to keep the core of the application simple and extensible. Flask does not have a built-in abstraction layer for database processing, nor does it form verification support. Instead, Flask supports extensions to add such features to applications. Some popular Flask extensions will be discussed in subsequent chapters of this tutorial.

Guess you like

Origin blog.csdn.net/u013066730/article/details/108070680