vchu.hashnode.devMusings on mental algorithmsRecently, I needed to add user roles to my Flask web app. I had already implemented some user management in the app and wondered what would be the best way to add roles and permissions. I could, of course, develop it from scratch. My first thoughts w...Feb 9, 2023·4 min read
vchu.hashnode.devHTMX, Hyperscript and Flask - Slideshow galleryContinuing work on my project in Flask and Bulma, I needed a neat way to display a photo gallery. There are plenty of premade gallery setups that I could have used, but I wanted to make something using Bulma, Flask, HTMX, and Hyperscript as much as p...Dec 28, 2022·6 min read
vchu.hashnode.devHyperscript and Flask - Bulma dropdownSince I got a better grasp of what HTMX is all about, I decided to see what hyperscript, a companion of HTMX, can do for my project. The starting point On one of my pages, I had a list of links that I've organized as a string of buttons, which was f...Jan 11, 2022·3 min read
vchu.hashnode.devHTMX with Flask - Bulma modalsWhile I used HTMX alert when deleting post comments, I felt like deleting a whole post was a bigger deal and should have a more fancy warning. Bulma provides a way to show modals, so I wanted to give it a try and have a nice big Bulma modal promp...Nov 5, 2021·4 min read
vchu.hashnode.devHTMX with Flask - Fade in and outIn my previous post I converted my boring commenting feature to use HTMX and make commenting much faster. One thing I didn't like about this was that the comment appeared too fast. I would write a comment, click on "Post" and it would just appear un...Oct 27, 2021·4 min read