Publisher: Packt, 2015, 175 pages
ISBN: 978-1-78439-478-3
Keywords: Python, Web Programming
This book shows you how to leverage the Flask microframework, various popular Flask extensions, Python libraries, and third-party APIs to build a series of increasingly complex web applications.
The book starts by first setting the groundwork for a sane development environment using the virtualenv tool, and how to structure non-trivial Flask applications to better leverage a more modular design. You'll first build an application backed by a SQL database that uses several useful and popular Flask extensions. Next, a social news-like application is constructed and tested with the pytest set of tools. Following this, a JSON-based API-centric application is created using the Flask-RESTful extension. You'll learn ow to use HTTP authentication to secure your API, write custom WSGI middlewares, and ensure that your application is thoroughly tested. The next application shows you how to use Flask-Script to create CLI tools for interfacing with your data models via the command line. Finally, the last application does a deep-dive into the world of OAuth; database migrations with Alembic are covered briefly, setting the stage for long-term application development and sustainability when working with a team.
Not a bad book per se, as it contains some lucid explanations (even if the example code contains errors). But it doesn't really make you even a beginner in utilizing the Flask Blueprints.
And considering the asking price for this book (very steep for a very few pages), I would recommend you to avoid it!
Comments
There are currently no comments
New Comment