Flask Python Tutorial

Flask is a microframework for Python. “Micro” does not mean that your whole web application has to fit into a single Python file (although it certainly can), nor does it mean that Flask is lacking in functionality. The “micro” in microframework means Flask aims to keep the core simple but extensible.

Configuration vs Conventions

Flask has many configuration values, with sensible defaults, and a few conventions when getting started. By convention, templates and static files are stored in subdirectories within the application’s Python source tree, with the names templatesand static respectively. While this can be changed, you usually don’t have to, especially when getting started.

In this chain or articles we will learn flask. Here is overall flow

  • Getting started with Flask
  • Hello World in Flask
  • Templates
  • Databases
  • MVC in flask
  • Structuring your project

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.