21. Hello, Flask!ΒΆ

  1. 21.1. What is Flask
    1. 21.1.1. Web Applications
    2. 21.1.2. A Web Framework
  2. 21.2. Install Flask
    1. 21.2.1. Create a Project Directory
    2. 21.2.2. Create a Virtual environment
    3. 21.2.3. Add Flask
    4. 21.2.4. Ready to Go!
    5. 21.2.5. Video Summary
  3. 21.3. Your First Flask App
    1. 21.3.1. Initial Code
    2. 21.3.2. Launch the App
      1. 21.3.2.1. Change the Python Code
    3. 21.3.3. Add Some HTML
    4. 21.3.4. Stopping the Application
    5. 21.3.5. Video Summary
    6. 21.3.6. Check Your Understanding
  4. 21.4. Routes
    1. 21.4.1. Server IP Address
    2. 21.4.2. Paths
    3. 21.4.3. Add a Second Page
    4. 21.4.4. More Practice
    5. 21.4.5. Check Your Understanding
  5. 21.5. HTML Templates
    1. 21.5.1. What are Templates?
    2. 21.5.2. Templates with Flask
      1. 21.5.2.1. Add a Template
      2. 21.5.2.2. The render_template Function
    3. 21.5.3. Sending Data to a Template
      1. 21.5.3.1. Arguments with render_template
    4. 21.5.4. Expressions in Placeholders
    5. 21.5.5. Video Summaries
    6. 21.5.6. Check Your Understanding
  6. 21.6. Data Collection
    1. 21.6.1. Collect Color
      1. 21.6.1.1. Update favorite_form.html
      2. 21.6.1.2. Add a New Route
      3. 21.6.1.3. Add the form_results Template
    2. 21.6.2. Try It!
    3. 21.6.3. Template Variable Names
    4. 21.6.4. Video Summary
    5. 21.6.5. Check Your Understanding
  7. 21.7. Form Validation with Flask
    1. 21.7.1. Validation
      1. 21.7.1.1. Why Do Both?
    2. 21.7.2. Server-Side Validation
    3. 21.7.3. A Better User Experience
    4. 21.7.4. Video Summary
    5. 21.7.5. Check Your Understanding
  8. 21.8. Styling Flask Templates
    1. 21.8.1. The static Directory
      1. 21.8.1.1. Link to the Stylesheet
    2. 21.8.2. Pro Tip
    3. 21.8.3. Style Another Template
    4. 21.8.4. Video Summary
  9. 21.9. Exercises: Flask Intro
    1. 21.9.1. Part A: Setup
      1. 21.9.1.1. Install Flask
      2. 21.9.1.2. Add Directories
    2. 21.9.2. Part B: Render the Form
      1. 21.9.2.1. Add Placeholders
    3. 21.9.3. Part C: Collect User Input
      1. 21.9.3.1. Check the Method
    4. 21.9.4. Part D: Validate the Input
      1. 21.9.4.1. Check Input Length
      2. 21.9.4.2. Check Characters
  10. 21.10. Project: Web Form (Part 2)
    1. 21.10.1. Part A: Setup
      1. 21.10.1.1. Pull in Your Part 1 Work
    2. 21.10.2. Part B: Update the Form Page
      1. 21.10.2.1. Collect and Display Message
    3. 21.10.3. Part C: Change the Message
      1. 21.10.3.1. Encrypt the Message
      2. 21.10.3.2. Decrypt Message
    4. 21.10.4. Part D: Server-Side Validation
    5. 21.10.5. Bonus Mission