HTMX + Flask: Modern Python Web Apps, Hold the JavaScript

TalkPython – HTMX + Flask: Modern Python Web Apps, Hold the JavaScript Free Download.

TalkPython – HTMX + Flask: Modern Python Web Apps, Hold the JavaScript Description

Course Summary

htmx is one of the hottest properties in web development today, and for good reason. This framework, along with the libraries and techniques introduced in this course, will have you writing the best Python web apps you’ve ever written: clean, fast, and interactive without all that frontend overhead.

If you are a Python web developer that has wanted to build more dynamic, interactive apps, but just don’t want to (or can’t) write a significant portion of your app in a rich frontend JavaScript framework, you’ll absolutely love htmx. This library lets you write Python code you love and still add that clientside interactive aspect.

Source code and course GitHub repository


What will we build

In the course, we will add a bunch of htmx-powered features to an existing application. This app, called Video Collector, is a beautiful Flask web app that allows us to save, explore, search, and play videos we’ve collected from YouTube.

HTMX + Flask: Modern Python Web Apps, Hold the JavaScript

The Video Collector application we’ll build during this course.

What topics are covered

In this course, you will:

  • See how htmx differs from common JavaScript front-end frameworks such as Vue and React.
  • Understand the server-side exchange enabled by htmx attributes (e.g. hx-trigger).
  • Add click to edit to an existing data-driven Flask application.
  • Learn about the jinja-partials package to refactor our jinja2 templates (with or without htmx).
  • Add deep linking to our dynamic web application, allowing us to share links into interactive segments.
  • Add active search to an existing data-driven Flask application.
  • Implement browser history for htmx actions (allowing back and forth navigation).
  • Add infinite scroll to our app.
  • Distinguish between full page requests and partial htmx requests within a single view method in Flask.
  • And lots more

Who is this course for?

This course is for anyone who creates Python web applications and needs them to be more interactive in manners often characterized as SPAs (single page applications) but doesn’t want to (re)write the application largely in a complex JavaScript frontend framework such as Vue.js or React.js.

The experience level for taking this course is not significantly high. You’ll need

  • basic understanding of how Flask works
  • Experience with core Python concepts (such as classes, functions, and decorators) but nothing complex (such as async or metaclasses)
  • You’ll need to know a little about HTML and HTTP

Learn Animation Production with Blender 2.9 Free Download

TalkPython – HTMX + Flask: Modern Python Web Apps, Hold the JavaScript Free Download


Pass Unzip: tutflix


Content From:

Copyright Disclaimer:

This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us (in author info), we’ll remove relevant links or contents immediately.