Video description
This course will teach you how to build Flask apps using only Flask and two essential extensions. You don't have to worry about managing multiple extensions on your machine or about incompatible database systems. By learning without using extra extensions other than Flask-SQLAlchemy and Flask-Login, you'll have a better understanding of how things work; thus, when you actually use extensions, you'll get much more out of them.
Why Flask? Even though Flask is simple, you can create any web app you can imagine using it. Flask is not only easy to learn, it's also virtually guaranteed to work on your machine. If you've ever tried installing a large library only to find it doesn't work on your computer, you'll be delighted to find that Flask, with its few dependencies and small footprint, will work on your computer.
You'll start by learning the basics of Flask. You'll learn enough to understand the fundamentals of Flask, how to use templates, and how to connect and use an SQLite database with Flask-SQLAlchemy. Once you decide to change databases, you'll simply update the configuration because you used Flask-SQLAlchemy. And, since the best way to learn is by example, we'll build two demo applications that use only what you learned in the preceding sections. This course covers using Flask 1.0 along with Flask-SQLAlchemy 2.3 and Flask-Login 0.4. Python 3.6+ is required, but no advanced features are used so you may be able to use an older version of Python.
What You Will Learn
- Explore the advanced networking concepts, build WANs, and work with IPV6
- Learn EIGRP troubleshooting, GNS3 labs, and simulations
- Practice DCE DTE physical router demos
- NAT configuration and testing, IPV6
- Discover OSPF anConfigure VPN and Dynamic Multipoint VPN (DMVPN)
- Master GRE tunnel configuration and the WAN technologyd BGP
Audience
This course is for anyone who has mastered the Python fundamentals and is keen to learn how to build web frameworks in Flask. Since Flask is a microframework, beginners can easily learn and use the framework. All you need to know before starting the course is the Python basics. If you're already comfortable working with features such as loops and dicts in Python, you are ready for this course.
About The Author
Anthony Herbert: Anthony Herbert is the founder of Pretty Printed. He has been programming since 2004, but a number of those years were spent with a lack of understanding of concepts. To help others avoid the issues he had while learning to program, he created Pretty Printed so that programmers of all skill levels can understand programming concepts easier and faster.
Table of contents
- Chapter 1 : Course Intro
- Chapter 2 : Flask Basics
- Chapter 3 : Templates
-
Chapter 4 : Flask-SQLAlchemy
- StartIntro and Install
- StartDetermine the URI
- StartConfigure and Create the Database
- StartCreate Table
- StartInsert Data
- PreviewUpdate Data
- StartDelete Data
- StartCreate One to Many Relationships
- StartAdd Data to One to Many Relationships
- StartQuery One to Many Relationships
- StartCreate Many to Many
- StartAdd Data to Many to Many
- StartQuery Many to Many
- StartGet All Data
- Chapter 5 : Structuring Flask Apps
-
Chapter 6 : Registration App
- StartApp Overview
- StartSetup Project and Display Template
- StartSetting Up the Models
- StartSetup Database
- StartSeed Topic and Language Data
- StartSetup Password Hash
- StartVerify Form Data is Being Submitted
- StartLoad Languages and Topics
- StartSave Data from Form
- StartLoad Existing Data
- StartUpdate Database with New Data
- StartError Handling
- Chapter 7 : Registration API
-
Chapter 8 : Dashboard App
- StartApp Overview
- StartOverview of Templates
- StartSetup Flask App and Template
- StartCreate Models for Dashboard
- StartCommand to Create Tables
- StartAdd Data into Database
- StartOverview of Queries We Need
- StartWriting the Queries
- StartWriting the Queries
- StartWriting the Queries
- StartWriting the Queries
- StartAdd the Card Values
- StartAdd the Revenue Goals
- StartWork with the Area Chart
- StartWork with the Pie Chart
- StartWork with Bar Chart
- StartFill in Order Table
- StartSetup Flask Login
- StartProtecting the Routes
- StartRegister a User
- StartLog In User
- StartAdd Password Hashing
- StartLogout User
- StartUpdate Links
- StartAdd Current User Name
- StartAdd Remember Me
- StartFormat Numbers and Dates
- StartFix Pie Chart Colors
- StartForm Validation
- Chapter 9 : Course Outro
Product information
- Title: Flask for Beginners
- Author(s):
- Release date: September 2019
- Publisher(s): Packt Publishing
- ISBN: 9781839211928
You might also like
book
Full-Stack Flask and React
Get to grips with UI interaction, data modeling, API development, and documentation while building modern web …
video
The Ultimate Flask Course
Many developers, and even beginners, opt for the Flask framework to build web applications because of …
book
Flask Web Development, 2nd Edition
Take full creative control of your web applications with Flask, the Python-based microframework. With the second …
book
Flask Framework Cookbook - Third Edition
Design and deploy robust state-of-the-art web applications using Flask 2.x and Python 3 frameworks and libraries …