Rapid Development With Flask, Htmx, Tailwindcss And Alpinejs

Posted By: ELK1nG

Rapid Development With Flask, Htmx, Tailwindcss And Alpinejs
Published 1/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 989.40 MB | Duration: 1h 54m

Build interactive web applications with minimal JavaScript, using server-side rendering

What you'll learn

Rapidly build an RSS reader application using Flask, HTMX, TailwindCSS, and AlpineJS

Use server-side rendering with HTMX to update the page dynamically

Rapidly build interactive web applications with minimal JavaScript

Sprinkle in-page interactivity simply using AlpineJS

CSS fundamentals and how to use TailwindCSS

CSS flow, flex, and grid layouts and how to apply them with TailwindCSS

Requirements

Intermediate programming knowledge required, preferably with Python

Knowledge of Flask will be helpful as the course is fast-paced

No CSS, TailwindCSS, or JavaScript knowledge required

Description

Do you want to build interactive web applications quickly and simply?Python with Flask, HTMX, TailwindCSS, and AlpineJS is a complete stack of technologies to build interactive, engaging web applications without having to write (almost) any JavaScript.This means you can use your existing Python knowledge without having to learn a completely new language to build your web project.Traditionally, building a web application without JavaScript would mean a slow and sluggish experience, with lots of page reloads at every button or link click.With HTMX and AlpineJS, we can avoid almost all page reloads, and craft server-side rendered applications that feel fast, responsive, and engaging.This includes things like adding pagination, hiding and showing elements, and updating page state.Adding TailwindCSS into the mix will help us write our CSS quickly and efficiently.In the course, we build an RSS feed reader that loads data from the internet to display articles from feeds you follow. It's a great project to get familiar with these technologies, and in no time you'll be building your own interactive web applications.The course contains:Use Flask to create a web application.CSS fundamentals and how to apply them with TailwindCSS.Avoid page reloads with HTMX by making requests to your backend and swapping parts of the page content.Add in-page interactivity simply with AlpineJS using state and event dispatching.Learn about CSS flex and grid to create a commonly used page structure with a sidebar and main content.I'm sure you'll enjoy this course. See you on the inside!

Overview

Section 1: Introduction

Lecture 1 Course welcome

Lecture 2 Set up a modern Python project with Rye

Lecture 3 Adding our external web dependencies

Lecture 4 Build a Flask app to render a single RSS feed

Lecture 5 The CSS box model

Lecture 6 CSS flow layout positioning

Lecture 7 CSS layouts: flex and grid

Lecture 8 Creating our RSS feed template

Lecture 9 Working with a list of different feeds in Flask

Lecture 10 Media queries with TailwindCSS

Lecture 11 Colors in TailwindCSS

Lecture 12 Adding a sidebar with TailwindCSS

Lecture 13 When should you use partials vs. components?

Lecture 14 Adding dynamic pagination to our app

Lecture 15 Adding a read status to articles, and updating the page without reloading

Lecture 16 Event dispatching and handling with AlpineJS

Lecture 17 Letting users create new feeds (showing and hiding elements with AlpineJS)

Lecture 18 Course conclusion, and thank you

Section 2: Bonus section

Lecture 19 Bonus lecture

Intermediate Python developers who want to quickly build their web application projects,Front-end developers who want to understand how to build server-side rendered applications,Developers who want to learn about web development, including HTML and CSS