What to expect
Before we dive in, here’s what this tutorial is, and what it isn’t.
A brief introduction, not a deep-dive
This tutorial gives you a quick introduction to each tool: HTMX, Alpine.js, Tailwind and Playwright. The goal is to get you comfortable with the basics so you can start using them.
We won’t cover every feature of every tool. Each one has good documentation you can explore once you know your way around.
We skip the fancy stuff
We stick to the basics, so we won’t cover things like:
- Real-time updates pushed from the server (for example, using websockets)
- Updating several parts of the page at the same time
- Handling errors from the backend
- Working with bigger, more complex data
- Integrating with your chosen authentication and authorization tools
All of this is possible with the tools we cover. By the end of this tutorial, you’ll understand the basics well enough to figure these out yourself.
We take some shortcuts
To save time, we load HTMX, Alpine.js and Tailwind from a CDN. That means adding a <script> tag to the page instead of installing and bundling them.
This isn’t “the right way” to set things up for a real production app, but it lets us focus on how the tools work rather than on setup.
The 80% you’ll actually use
The techniques in this tutorial should cover about 80% of what you’ll need in a typical project. There will be gaps, and we’ll point them out as we go so you know what to look into next.