Docy

Flask

Estimated reading: 0 minutes 898 views
Flask Overview
Flask Overview

What is Web Framework? Web Application Framework or

Flask Application
Flask Application

In order to test Flask installation, type the following code

Flask Routing
Flask Routing

Modern web frameworks use the routing technique to

Flask Variable Rules
Flask Variable Rules

It is possible to build a URL dynamically,

Flask URL Building
Flask URL Building

The url_for() function is very useful for dynamically building a

Flask HTTP Methods
Flask HTTP Methods

Flask HTTP methods, handle GET & POST requests

Flask Templates
Flask Templates

A web application often requires a static file

Flask Request Object
Flask Request Object

The data from a client’s web page is

Flask Form Data to Template
Flask Form Data to Template

We have already seen that the http method

Flask Cookies
Flask Cookies

A cookie is stored on a client’s computer

Flask Sessions
Flask Sessions

Like Cookie, Session data is stored on client.

Flask Redirect
Flask Redirect

Flask class has a redirect() function. When called, it returns

File Uploading
File Uploading

Handling file upload in Flask is very easy.

Flask SQLite
Flask SQLite

Python has an in-built support for SQlite. SQlite3 module

Flask SQLAlchemy
Flask SQLAlchemy

Flask SQLAlchemy (with Examples) Using raw SQL in

Leave a Comment

Share this Doc
CONTENTS