2 hours ago · Tech · hide · 0 comments

Python A-Z is a blog series about Python. Each day, I share insights, ideas and examples for different parts of Python development that match with the letter of the day. Blaugust is an annual blogging festival in August where the goal is to write a blog post every day of the month. For the past couple of years, all my new Django projects have been built with htmx and I’ve worked on couple of other, non-Django projects that uses it as well. It’s a blast! It took me a while to get used to but especially this demo by Michael Kennedy at PyBay 2021 convinced me of its utility and looking back now, I love how simple it makes building most interactive websites and web apps. htmx is a small (16k) Javascript library that makes it possible to build modern UIs by transferring HTML over the wire instead of JSON. Combined with Django’s templating system, it makes build smooth, fluid frontends with server-side rendering. Here’s an example from my Pokémon TCG inventory application. I have a…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.