Learning Flask

Get started with Flask, a powerful web framework for Python that's easy to learn and use
4.2 (6 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
86 students enrolled
$19
$75
75% off
Take This Course
  • Lectures 38
  • Length 1.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 8/2015 English

Course Description

With a growing skills gap, the need for talented developers is greater than ever before. A basic grounding in building apps with a framework as minimalistic, powerful, and easy-to-learn as Flask will be a useful skill to launch you on a career as an entrepreneur or web developer. Flask is a Python micro-framework that makes web application development as easy as saying it.

This course will give you a basic grounding in the fundamental concepts of web development, as well as the hands-on experience you require to successfully build web apps with Flask.

We'll start by turning your computer into a modern development machine. Next, we'll move beyond static websites and develop a powerful database-backed dynamic Flask app. We won't stop there, because we'll also cover how to implement a full authentication system.

Finally, we'll extend the app's functionality by learning how to integrate it with third-party APIs.

When you finish this course, you will be fully equipped to build your very own custom web apps.

About the Author

Lalith Polepeddi has been working with Flask since discovering it to be an easy way to learn about web development. He's written about Flask for Tuts+ and TechPro. Aside from Flask, Lalith is interested in applying computer science to address problems in parallel domains, such as biology.

What are the requirements?

  • Some basic familiarity with Python will help you understand the code more easily.

What am I going to get from this course?

  • Set up a development environment with all the necessary software to develop Flask apps
  • Create robust databases with PostgreSQL to safely store user data for your dynamic websites
  • Build an authentication and authorization system using Flask-Login and Flask-Oauth to protect your pages from improper access
  • Use Flask extensions such as Flask-Gravatar, Flask SSLify, and more to add a wide range of functionalities to your app
  • Integrate the Wikipedia API to build a location-based service

What is the target audience?

  • This video course is for new developers who want to explore Flask and build custom web applications quickly and easily.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Setting Up the Environment
01:59

This video will offer the overview of the course.

02:20

Before we start, we will need a text editor to edit our code.

01:52

We will need a command-line interface for communication with the system.

01:54

To handle our project efficiently, we need a version control system.

01:02

We will need to install a database in order to save our app's data.

02:26

We will need to install a virtual environment where we can install Flask.

01:11

To make our app available to users, we need to create a deployment environment.

00:58

A review of the tools installed.

Section 2: Getting Started
02:03

Setting up the folders and files needed for a Flask app.

01:13

Taking a look at how the files and folders together form the project structure.

01:40

To understand the Request-Response cycle, we will implement a static page.

01:52

To write less boilerplate, we will use web templates.

01:46

To actually see the home page, we will implement a controller.

02:04

To style the HTML, we will need CSS.

03:01

To back up our code, we will need to push it to GitHub.

01:58

To view the app, we will deploy the code to Heroku.

04:28

To practice the repeatable workflow, from creating a home page to deploying it to Heroku again, we will implement another static page.


00:33

We will put the process from creating a home page to saving it to Github into context.


Section 3: Storing Data
05:08

Creating a "users" table in the "learningflask" database.

02:12

Connecting the Flask app to Postgres using Flask-SQLAlchemy.

02:37

Creating a User model to communicate with the "users" table.

Section 4: Signing Up
02:09

To make web forms, we need to use Flask-WTF.

01:26

Writing the form's backend using Flask-WTF.

07:48

Writing the form's frontend in a web template.

04:16

To check for incorrectly submitted form data, we will use validators.


02:02

Getting more practice in writing validators.

02:13

If the form data is valid, we need to save it in the users table.

Section 5: Logging In and Logging Out
03:33

In this video, we will talk about sessions that are very important to sign a user in.

05:23

The sign in form allows users to sign in to the app using their credentials. In this video, we'll write the sign in form's backend and frontend.

02:31

Signing out essentially means ending a session. In this video, we'll take a look at how to do this.

Section 6: Authorization/User Roles
02:16

The app we have created still has two flaws with regard to security. In this video, we'll take a look at these issues.

01:54

In our app, users can still access the home page without logging in. In this video, we'll see how to avoid this.

02:41

Once logged in, the signup page is still visible to the users. In this video, we'll solve this issue.

Section 7: Bookmarking Places
01:54

We'll take a look at how to implement the location-based feature of the app.

03:33

We'll add an address form to our home page.

05:29

We'll take a look at how to query an address in order to find places near it.

03:14

In this video, we'll render the places we need on the map.

00:49

In this video, we'll be wrapping and concluding our course.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Over the past ten years Packt Publishing has developed an extensive catalogue of over 2000 books, e-books and video courses aimed at keeping IT professionals ahead of the technology curve. From new takes on established technologies through to the latest guides on emerging platforms, topics and trends – Packt's focus has always been on giving our customers the working knowledge they need to get the job done. Our Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course