What is Flask?
Flask is an unopinionated framework for working with the request-response mechanism found in HTTP. It does one thing and only one thing: it helps you receive requests into a simple Python object structure, then craft responses using Python code.
Let’s go back to the word unopinionated. By this, I mean Flask by design only handles the request-response cycle. I realize I said that already, but it bears repeating. When you compare Flask to its virtual antithesis, which is Django, the difference is stark.
Django is extremely opinionated about how you create your web application. Django dictates the file structure, the application patterns, and the database to be used. It features its own object relational mapper, its own request response mechanism, and its own set of coding conventions. In short, Django will dictate your stack and most of the architectural details for your project.
Flask proffers some suggestions, but they are not set in stone, and you don...