Flask Framework Cookbook: Building Web Applications with Flask , 2nd Edition
- Length: 94 pages
- Edition: 1
- Language: English
- Publication Date: 2021-08-23
- ISBN-10: B09DFJVMBW
- Sales Rank: #0 (See Top 100 Books)
Flask is a web development framework developed in Python. It is easy to learn and use. Flask is “beginner-friendly” because it does not have boilerplate code or dependencies, which can distract from the primary function of an application. Flask originated in 2004 when a developer named Armin Ronacher created it as an April Fool’s joke. However, it quickly gained popularity in the open-source community anyway. Consequently, it developed into a popular open-source project and gained a massive following, which it maintains today. Some features which make Flask an ideal framework for web application development are:
- Flask provides a development server and a debugger.
- It uses Jinja2 templates.
- It is compliant with WSGI 1.0.
- It provides integrated support for unit testing.
- Many extensions are available for Flask, which can be used to enhance its functionalities.
Introduction What is a web app? Why Flask? Flask or Django? Conclusion Chapter One The most important filters are standard in Jinja mold engine Default filter to provide a default value First filter to display the first item from a set of items The int filter converts values to integers Conclusion Chapter II Processing Add Flask-SQLAlchemy Install the Flask-SQLAlchemy extension Link the application by adding Flask-SQLAlchemy Conclusion Chapter III Link tables between articles and users the problem The wrong solution The correct way to associate one record with many records in two different tables Add this line to the last category Conclusion Chapter IV Create tables and articles in the database Conclusion Chapter V Use the SQLAlchemy library in the Python language interpreter to work with the application database Add the article Conclusion Chapter VI WTForms Library: Verify user input using WTForms validators Email Authenticator Email NumberRange Authenticator Authenticator Optional AnyOf Authenticator NoneOf Conclusion
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.