Flask in Python: Building a Simple Web Site Using Flask

Flask 1.1
  • 12 Videos | 1h 34m
  • Includes Assessment
  • Earns a Badge
Likes 21 Likes 21
You will begin this 12-video course by learning how to install Flask—a widely used web framework written in Python language—in a virtual environment on your development machine, and then write the code for a simple "Hello World" website by using Flask. You will explore how route definitions can be altered and the benefits of running your Flask app in debug mode. Next, define a route that renders an HTML page when a URL is accessed; download and use some boilerplate HTML files so your website definition need not begin from scratch, and modify the boilerplate cascading style sheet (CSS) and HTML definitions to customize the look of a website. Learn how to generate URLs dynamically by using the url_for function; create a base Jinja template that can be inherited by other templates, along with placeholders that can be overridden; and explore how to inherit the elements from a base Jinja template in a child template HTML file. Finally, learn how to define multiple routes to point to the same route function.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    install Flask in a virtual environment on your development machine
    write the code for a simple "Hello World" web site using Flask
    recognize how route definitions can be altered and the benefits of running your Flask app in debug mode
    define a route that renders an HTML page when a URL is accessed
    download and use some boilerplate HTML files so that your web site definition need not begin from scratch
  • modify the boilerplate CSS and HTML definitions to customize the look of a web site
    generate URLs dynamically using the url_for function
    create a base template that can be inherited by other templates, along with placeholders that can be overridden
    inherit the elements from a base template in a child template HTML file
    define multiple routes to point to the same route function
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 9s
    UP NEXT
  • Playable
    2. 
    Installing Flask
    8m 29s
  • Locked
    3. 
    Creating a Basic Application on Flask
    6m 5s
  • Locked
    4. 
    Exploring Route Definitions
    7m 41s
  • Locked
    5. 
    Rendering HTML from Flask
    8m 2s
  • Locked
    6. 
    Using Boilerplate HTML for a Web Site
    9m 38s
  • Locked
    7. 
    Customizing the Appearance of a Web Site
    9m 29s
  • Locked
    8. 
    The url_for Function
    8m 52s
  • Locked
    9. 
    Defining a Base Jinja Template
    9m 7s
  • Locked
    10. 
    Inheriting the Base Jinja Template
    9m 11s
  • Locked
    11. 
    Pointing Multiple URLs to the Same Endpoint
    8m 59s
  • Locked
    12. 
    Course Summary
    1m 18s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE