Best of HTMXDecember 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·1y

    Build a URL Shortener with Go, Redis, and HTMX

    Learn to build a URL Shortener using Go, Redis, and HTMX. The tutorial covers setting up the Go environment, installing Redis, building a basic HTTP server with Go’s standard library, and implementing a simple URL shortening algorithm. It also includes instructions for integrating Redis as a fast in-memory data store, and creating a reactive UI with HTMX and TailwindCSS. The final steps involve setting up URL redirection and deploying the application.

  2. 2
    Article
    Avatar of awegoAwesome Go·1y

    How to Set Up Authorization in a Bookstore Management System with Go, HTMX, and Permit.io

    Authorization is vital for application security, determining accessible resources and actions based on user roles. This tutorial guides you through building a bookstore app with authorization using Golang, HTMX, and Permit.io. The app includes role-based access control for admin and standard users, dynamic data loading, and secure user role management through Permit.io. It covers project setup, database configuration with PostgreSQL, HTTP handlers, and middleware for authorization checks.

  3. 3
    Article
    Avatar of communityCommunity Picks·1y

    HTMX Saved Template Engines

    HTMX extends the capabilities of template engines like Django's by allowing developers to build dynamic web apps with less Javascript. It simplifies the process of creating interactive UIs by using custom attributes within HTML to perform AJAX requests and update content dynamically. This approach can enhance page speed and user experience, offering flexibility similar to client-side frameworks while staying within a template engine environment.