Introducing the Flask framework
Flask is a micro web development framework for Python. The term micro indicates that the core of Flask is lightweight, but with the flexibility of being extensible. A simple example is interacting with a database system. Django comes with libraries required to interact with the most common databases. On the other hand, Flask allows the use of an extension as per the database type or as per the integration approach to achieve the same goal. Another philosophy of Flask is to use convention over configuration, which means that if we follow standard conventions of web development, we have to do less configuration. This makes Flask the best choice for beginners to learn web development with Python. We selected Flask for our web development, not only because of its ease-of-use capability, but also because it allows us to introduce different concepts in a stepwise approach.
In this section, we will learn the following aspects of web applications using Flask...