Additional Tips and Tricks
This book has covered almost all the areas that need to be known for the creation of a web application using Flask. Much has been covered, and a lot more needs to be explored. In this final chapter, we will go through some additional recipes that can be used to add value to a Flask-based web application if and when needed.
We will learn how to implement full-text search using Elasticsearch. Full-text search becomes important for a web application that offers a lot of content and options, such as an e-commerce site. Next, we will catch up on signals that help decouple applications by sending notifications (signals) when an action is performed somewhere in the application. This signal is caught by a subscriber/receiver that can perform an action accordingly. This is followed by implementing caching for our Flask application.
We will also see how email support is added to our application and how emails can be sent directly from the application by performing...