When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

SkillShare logo

From Zero to Flask: The Professional Way

Unlock creativity with Skillshare! Learn acrylic painting, AI writing, graphic design, and photography.

     
  • 4.6
  •  |
  • Reviews ( 77 )
Free

This Course Includes

  • iconskillshare
  • icon4.6 (77 reviews )
  • icon4 hours 2 minutes
  • iconenglish
  • iconOnline - Self Paced
  • iconcourse
  • iconSkillShare

About From Zero to Flask: The Professional Way

Introduction

Roadmap and Requirements

Your Python Flask Development Environment

Installing Python3 on Mac with Homebrew

Installing Python3 on Windows 10 with Chocolatey

The Cloud-based Python Development Environment

Virtual Environments

Windows and Mac Virtualenv Setup

PythonAnywhere Virtualenv Setup

Activation and Deactivation

Installing Flask

The Code Editor

Hello World

Running the Application (Windows and Mac)

Running the Application (PythonAnywhere)

Debugging our Application

Debugging on Windows and Mac

Debugging on PythonAnywhere

The Debug Stack

Routing

Templates

The url_for() Function

The Static Folder

Template Inheritance

Introduction to Forms

Cookies and Sessions

Configuration Management

Python Dot Env for Windows and Mac

Python Dot Env for PythonAnywhere

An Introduction to Databases

Installing MySQL

Installing MySQL on Mac with Homebrew

Installing MySQL on Windows with Chocolatey

Setting up MySQL on PythonAnywhere

MVC and the Object Relational Mapper

Our First Data Driven Application

Initial Application Setup on Mac and Windows

Initial Application Setup on PythonAnywhere

Our Application Libraries

The Environment Settings

The Application Factory

Building Modules with Blueprints

Our First Blueprint

The Counter Model

An Introduction to Migrations

Database Operations from the Shell

The Page Views Counter Application

Setting Up Our Test Infrastructure

Our First Test

Flogger, a Simple Flask Blog

Initial Application Setup on Mac and Windows

Initial Application Setup on PythonAnywhere

Our Application Libraries

The Core Application

Setting up the Database

Creating the Author App

The Author Model

The Author Model Migration

Testing the Author Model in the Shell

The Author Registration Form

The Author Registration Template

Author Form Validation

A Better Looking Application

Processing the Author Registration Form

Checking the Record Creation on the Database

Using PDB

Custom Form Validators

The Author Login

Checking the Login Credentials in the Database

Author Session

Logging Out the Author

Flash Messages

Unit Testing the Author App

Login Tests

The Nav Bar

The Blog Post and Category Models

The Blog Post Form

Blog Create Post Template and View

Blog Post View Database Processing

The Login Decorator

Blog Article and Markdown

Blog Post Tests

Blog Home Page and Pagination

Uploading Images

Editing Posts

Deleting Posts and Writing the Edit and Delete Tests

Blog Tags and Tests

Filter by Category or Tags

The Final Project

Conclusion

What You Will Learn?

  • *** Learn Flask Development using the latest Flask version 1.0.2 ***.
  • This course will teach you, assuming no prior coding knowledge, how to develop back end web applications the way professional coders do in the top internet startups. How do I know this? Because I’ve been leading tech teams in both large enterprise as well as startup companies in New York City for the past 15 years..
  • I have seen a lot of courses and  free tutorials and I can tell you 90% of them just teach bad habits while promising to turn you into a real “web developer”..
  • This course doesn’t promise to turn you into a professional back end developer after you complete it -- it takes much more than the 4 hours of of this course (and probably hundreds of hours of self-practicing) to do that, but it will give you a solid foundation from where to start and continue your training, knowing the right path to become a real professional backend web applications developer using Python..
  • The course goes through a step by step process of setting up your environment, introducing Flask. It then moves to explore SQL databases, using MySQL and finally showing you how to develop a blogging application using all these learnings..
  • Best of all, you don’t need to own a computer to take this course, if you don’t own one. You can complete this course from an internet or cyber cafe, as we teach how to to use both locally installed files or an online coding platform..
  • At the end of the course students will be challenged with a final project where all the course material will need to be used to complete it. Students that finish the final project will be eligible for special future promotions..
  • If you are interested in learning how to code from zero and without prior knowledge, but do it using best industry practices towards becoming a professional backend web developer, this is the course for you..
  • The course is divided in 7 sections:.
  • Introduction.
  • Your Development Environment.
  • Say Hello World.
  • Setting up our Database.
  • A Visitor Counter.
  • Flogger: A Personal Blog Application.
  • Final Project.
  • The course has more than 4 hours of video tutorials as well as the source code of all the lessons, so that you can see exactly what the whole project looks like in each stage..
  • The course can take anywhere from 7 days to a month to complete based on how much material the student completes daily..
  • Additionally we’re constantly updating the course, adding contents thanks to the feedback of our students..
  • So stop looking around and start the right path to becoming a professional Python backend web developer with this course!.