メインコンテンツへスキップ
Academind
すべてのコース

Academind Proのコース

HTMX - The Practical Guide

Learn how to use the HTMX library to extend HTML and write simple yet powerful code.

  • 6セクション · 64件のレクチャー
  • 合計4 時間 4 分
HTMX - The Practical Guide

このコースについて

If frontend work keeps turning into “pick a framework, wire up state, fight build tools,” you’re not alone. You just want your UI to respond to user actions without writing piles of client-side JavaScript.

This course shows you how to use HTMX to get that simplicity back. You’ll extend plain HTML with a small set of attributes that trigger behavior, send requests, and update the page—so you can focus on your UI and core business logic instead of complex JS glue code.

By the end, you’ll be able to drop HTMX into real websites and web apps, confidently drive dynamic updates via server responses, and build interactive experiences (including SPA-style flows) without committing to a heavy client-side framework. You’ll also know how to blend this approach into existing fullstack projects regardless of the backend language you’re using.

学べること

You’ll use HTMX attributes to drive requests, shape payloads, and precisely control how server responses update the DOM—up to building SPA-style experiences.

  1. 01

    Extend HTML behavior

    Use HTMX to extend HTML with new attributes that control element behavior, so interactions live in your markup instead of requiring complex client-side JavaScript.

  2. 02

    Add HTMX to sites

    Integrate HTMX into a website and understand what it’s doing under the hood, so you can confidently introduce it into new or existing pages without prior HTMX experience.

  3. 03

    Send AJAX HTTP requests

    Trigger AJAX HTTP requests from user interactions and let HTMX handle the client-side mechanics, while you keep your attention on UI decisions and server-side logic.

  4. 04

    Control request data

    Decide what data gets sent with a request and how it’s shaped, enabling you to build forms and interactions that send exactly what your backend expects.

  5. 05

    Target DOM updates

    Control where a response is rendered and which part of the response is used, so you can update the right region of the page without rewriting entire views.

  6. 06

    Handle complex responses

    Work with responses that contain multiple content elements and apply request/response configuration options, giving you reliable patterns for richer UI updates and SPA-like flows.

前提条件

  • Basic web development knowledge is required.

  • Basic JavaScript knowledge helps but is not a strict requirement.

  • No prior HTMX knowledge is required.

このコースの対象者

  • Busy web developers

    You’re building websites or web apps and you want to ship UI features faster without turning every interaction into a client-side JavaScript project. This course gives you a simpler path that still feels modern.

  • React-weary developers

    You’ve used ReactJS (or similar libraries) and you’re tired of the overhead for smaller or server-driven apps. You’re looking for a powerful alternative that keeps you closer to HTML.

  • Fullstack builders

    You already have a backend you like and don’t want to rewrite your stack just to get better interactivity. This course is for you if you want to blend HTMX into existing fullstack projects regardless of language.

カリキュラム

始める前に、このコースの構成とペースをご確認ください。

  1. 1Getting Started3件のレクチャー · 4 分
    1. 01Welcome!1:47分
    2. 02What Is HTMX? And Why Would You Use It?2:22分
    3. 03Course Resources & Community0:00分
  2. 2HTMX Essentials13件のレクチャー · 1 時間 3 分
    1. 01Module Introduction1:01分
    2. 02Project Setup5:08分
    3. 03Installing HTMX3:23分
    4. 04Using HTMX & Sending GET Requests9:01分
    5. 05Deep Dive: Where & How Can You Use HTMX?3:42分
    6. 06Defining Response Target with hx-target4:28分
    7. 07Changing the Request Trigger with hx-trigger4:09分
    8. 08hx-trigger: Advanced Settings0:00分
    9. 09From GET to POST with hx-post4:01分
    10. 10Submitting Data with HTMX4:36分
    11. 11Handling POST Requests & Responses with HTMX6:53分
    12. 12Picking Parts of a Response with hx-select3:46分
    13. 13Time to Practice!12:42分
  3. 3Advanced HTMX: Beyond The Basics30件のレクチャー · 1 時間 58 分
    1. 01Module Introduction1:31分
    2. 02Starting Project1:15分
    3. 03Sending DELETE Requests8:58分
    4. 04Avoiding Client-Server Sync Issues5:58分
    5. 05HTMX Inheritance3:12分
    6. 06Reusing HTML Fragments3:29分
    7. 07Advanced Targeting with hx-target4:27分
    8. 08Requesting Confirmation with hx-confirm2:11分
    9. 09Listening to Events with hx-on3:19分
    10. 10Handling Events with hx-on0:00分
    11. 11Working with HTMX-specific Events5:04分
    12. 12Disabling Elements During Requests3:05分
    13. 13Onwards To A New Project & Sending A POST Request Without A Form4:07分
    14. 14Adding Extra Request Values3:23分
    15. 15Returning a List Fragment in the Response2:42分
    16. 16Setting HTMX Attributes Dynamically (On The Server)6:41分
    17. 17Setting HTMX Attributes Dynamically (On The Client)0:00分
    18. 18Performing Out Of Band Swaps6:25分
    19. 19Out Of Band Swaps & Delete Requests2:17分
    20. 20Advanced Swapping Configuration: Scrolling Content Into View5:26分
    21. 21Adding Separate JavaScript Files & Code7:41分
    22. 22Updating The UI Without HTMX (With Custom JavaScript Code)5:31分
    23. 23Using HTML Element Data With Help Of HTMX3:32分
    24. 24Handling Default Events With JavaScript1:48分
    25. 25Pausing & Resuming HTMX Requests3:50分
    26. 26Preparing The Project For The Next Steps6:04分
    27. 27Revisiting HTMX Requests & Event Handling6:29分
    28. 28Implementing Polling3:01分
    29. 29Configuring HTMX Globally3:27分
    30. 30Working with HTMX Extensions2:54分
  4. 4Working with HTMX Requests & Responses - Advanced Concepts10件のレクチャー · 38 分
    1. 01Module Introduction1:34分
    2. 02Starting Project2:15分
    3. 03Sometimes, HTMX Doesn't Submit The Data We Need3:03分
    4. 04Controlling Attached Data to Outgoing Request with hx-params4:09分
    5. 05Adding Headers to Outgoing Requests2:40分
    6. 06Implementing Form Validation With HTMX4:05分
    7. 07Synchronizing Multiple Requests4:06分
    8. 08Triggering "Real Redirects"4:28分
    9. 09Retargeting Responses & Reconfiguring Response Handling6:28分
    10. 10Handling Multi-Response Cases With A Special Extension5:34分
  5. 5Building Single-Page-Applications (SPAs) With HTMX7件のレクチャー · 17 分
    1. 01Module Introduction1:43分
    2. 02From Multi-Page Application (MPA) to Single-Page-Application (SPA)3:29分
    3. 03Using HTMX Attributes To Fetch & Render Entire Pages2:35分
    4. 04Updating the URL & Saving Previous Page State2:25分
    5. 05Unlocking Automatic & Progressive Enhancement with hx-boost2:36分
    6. 06Boosting Forms & Post Requests3:12分
    7. 07Summary0:55分
  6. 6Roundup1件のレクチャー · 4 分
    1. 01Course Roundup3:59分

始める準備はできましたか?

このコースをAcademind Proで購入するか、Academind InfiniteのAll Accessですべてのコースを利用しましょう。

ブラックフライデー: All Access 1年分が $249 $249 · までの限定価格セール価格で購入する
  • Academind Proでこのコースを購入

    $69買い切り

    税込 · 30日間返金保証

    • このコースへの無期限アクセス
    • このコースの今後のアップデートすべて
    • ダウンロード資料、コード、修了証
    HTMXを購入
  • Academind InfiniteのAll Access

    $25/月

    または$249 $249 /年17%お得

    • すべてのコースを、すべての機能付きで
    • 新しいコースも随時追加
    • チューター(すべての機能)
    All Accessを始める

All Accessには、Academind Proのすべてのコースも含まれます。

Academind ProとAcademind Infinite

コースもログインもそれぞれ別の、2つのプラットフォームです。

Academind Pro

pro.academind.comにある、これまでのコースプラットフォームです。Proのサブスクリプションとご購入のコースは、引き続きProでご利用いただけます。

Academind Proにログイン

Academind Infinite

AIファーストの新しいプラットフォームです。ProメンバーはProのアカウントでログインできます。Pro All AccessにはInfiniteも含まれ、すべてのコースを受講できます。

Academind Infiniteにログイン

Proのアカウントをお持ちか、Proでコースをご購入済みですか?

Infiniteに移ったのは、Proのコースの一部だけです。お持ちのコースを選んで、Infiniteでのページを開いてください。