Intro
We are going to introduce you HTMX with the rust server framework axum, which enables you to write reactive web applications with ease without the need of javascript frameworks.
You can get a good grasp by looking at fireship's 100s of HTMX video.
First Workshop Part
In this first part we will show you some basics with axum, rendering html with askama and using HTMX.
In detail the first part consists of:
- Serving with axum.
- How to return html directly using askama and how askama works.
- How to add HTMX to our html and how HTMX works with small examples.
After you got the basics with server side rending and using htmx and having a good lunch, we will hop on to the second part.
Second Workshop Part
In the second part of the workshop you will build something yourself, without further guidance. Of course we will help if you get stuck somewhere. Getting your hands dirty is the best way to learn.
Of course you can mix and match server frameworks and rendering engines. But if you just want to get started on implementing features and using htmx, we recommend you to use our skeleton.
It already has all the boilerplate code - and you can focus on using htmx.