Flask & Microframeworks
Concepts related to Flask and Python microframeworks.
Terms in Flask & Microframeworks
Application Context
The application context provides access to application-specific objects such as current_app.
Application Dispatching
Application dispatching allows multiple Flask applications or application components to be served through a common entry point.
Application Factory
The application factory pattern creates a Flask application inside a function.
Blueprint
A Blueprint organizes related Flask routes and application components into reusable modules.
Custom CLI Command
A custom Flask CLI command adds project-specific commands to the Flask command-line interface.
Error Handler
An error handler allows Flask to return custom responses for specific HTTP errors or exceptions.
Flask
Flask is a lightweight Python web framework used to build web applications and APIs.
Flask Configuration
Flask configuration stores application settings such as database URLs and secret keys.
Flask Context
A Flask context provides information required while processing an application or request.
Flask Extension
A Flask extension adds reusable functionality such as database integration, authentication, or caching.
Flask Middleware
Middleware processes requests and responses around the Flask application.
Flask Request
The Flask request object provides information about the incoming HTTP request.
Flask Response
A Flask response represents the HTTP response returned to the client.
Flask Route
A Flask route connects a URL pattern to a Python view function.
Flask Signals
Signals allow Flask extensions and applications to react to specific events without tightly coupling components.
Flask Testing Client
The Flask test client allows applications to simulate HTTP requests during automated testing.
Jinja2
Jinja2 is a template engine commonly used with Flask to generate dynamic HTML pages.
Request Context
The request context contains request-specific information while Flask handles a request.
Streaming Response
A streaming response sends generated content progressively instead of constructing the entire response first.
View Function
A view function is a Python function that handles a web request and produces a response.
WSGI
WSGI is a Python standard interface between web applications and web servers.