2023-09

2023-09-24 3 IRL use cases for Python and HTMX by Mario Munoz #PyHAT #Python #htmx #ASGI #Tailwind

Summary

There is nothing HTMX does that you couldn’t do in another way.

But HTMX pairs wonderfully with traditional server side frameworks and gives you clean, correct, results quite fast.

You won’t get candy crush bling level with it, but you will get something practical, which is regularly all what I need.

I added it to a quick and dirty dev tool so that it could be dynamic with little cost.

I sparkled it on a personal time management tool to force it to send standard requests.

And I sold it to my “not-so-good-coder” friend to make our team happier.

If at this point you are too afraid to ask…

Beyond the few months of hype and the hilarious twitter account, HTMX has proven to be a valuable addition to my toolbox.

But I read again and again people wondering what use case would you find that couldn’t be done in a different way?

What the heck are those people laughing at grug memes using that stuff for?

First, let’s make clear things up: there is nothing HTMX does that you couldn’t do in another way. It’s not HTMX vs .. It’s HTMX also…

You add the tool to the ones you can use depending on the situation.

Yes, it’s funny to make jokes on obese client side stacks, complicated build workflows and so on.

But of course, we use them too. That’s why it cracks us up.

While I’m a Python expert, I am very comfortable with Javascript, and use React and Vue for my clients.