I researched a little bit about HTMX and I loved it!
It allows you to use modern browser features like AJAX without the need of writting a single Javascript line!!
Here is a small Proof of Concept that I created using Java, Spring-boot, Thymeleaf and htmx to see how it can be used.
The code for this tutorial is here: https://github.com/Programming-with-Mati/posts-spring-htmx
Follow me!
- Twitter: https://twitter.com/progwithmati
- LinkedIn: https://www.linkedin.com/in/matiasdsalerno
- GitHub: https://github.com/Programming-with-Mati
----
Sections:
00:00 - Intro
00:45 - What is htmx?
07:55 - Tutorial intro
09:02 - Spring project init
10:13 - Create Status class
11:31 - Create StatusController
14:29 - Create Feed view
18:15 - Run Application
19:04 - Introduce htmx for AJAX
23:10 - Create new controller method for AJAX call
27:22 - Create Status view
29:04 - Run final application
31:37 - Outro