Flask Basics
Treehouse
Course Summary
Flask is one of the easiest ways to bring your Python skills online. It's a great microframework used by thousands of people to create prototypes and small web apps.
-
+
Course Description
About this Course Flask is one of the easiest ways to bring your Python skills online. It's a great microframework used by thousands of people to create prototypes and small web apps. What you'll learn
- Creating and controlling views and routes in Flask
- Setting and reading from cookies
- Rendering templates
- Template inheritance
About the Teacher
Besides teaching Python at Treehouse, Kenneth Love is a husband & father. He created a few popular Python libraries, worked at most levels of the web stack, & was the Creative Director of a newspaper. He likes board games, whiskey, activism, & dry humor.
-
+
Course Syllabus
Welcome to Flask
If we're going to use Flask, we need to learn about what makes it tick and how to set up a basic app with some routes. There's a lot to this little framework that could, so we'll take it slow and work our way through the nitty gritty. 11 steps- Introduction 1:13
- First Steps 5:58
- Create an app 2 objectives
- Create a view 1 objective
- Request Variables 2:58
- Request args 1 objective
- Request 3 questions
- Clean URL Arguments 5:36
- View Args Through URL 3 objectives
- The Adder 1:33
- Multiply View 5 objectives
Templates and Static Files
Most web apps need to send HTML back to the browser, and ours is no exception. Let's see how to render templates, take advantage of template inheritance, and use static files to make our templates look nicer. 6 stepsCharacter Builder
Now that we know the nuts and bolts of Flask, let's build a fun single-page web app that'll let us create our own bear images. 16 steps
This course is listed under
Open Source
, Development & Implementations
, Data & Information Management
, Networks & IT Infrastructure
, Operating Systems
and Digital Media & Games
Community
Related Posts: