4

Utilizing Flask Extensions

Flask is popular due to its extensions, which are installable external or third-party modules or plugins that add support and even enhance some built-in features that may seem redundant to create, such as form handling, session handling, authentication procedures, and caching.

Applying Flask extensions to project development can save time and effort compared to re-creating the same features again. Also, these modules can have interdependence with other essential Python and Flask modules without requiring too much configuration, which is convenient for adding new features to the baseline project. Despite the positive factors, however, there are also some side effects of installing extensions for our Flask applications, ...

Get Mastering Flask Web and API Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.