September 03, 2026

Refactoring My Tech Stack: Building a Stronger Foundation with Blueprints

A scalable framework designed to support upcoming development challenges.

No, I haven't gone offline—I’ve just been busy refactoring the site you're on right now! You can't build a house on soft sand, and having all my application routes crammed into a single file wasn’t going to stand the test of time.


The entire web application has been restructured, breaking up routes into Flask blueprints to make it more modular. This architectural cleanup makes the codebase much easier to maintain and provides a solid foundation for my upcoming projects.


Tackling Future Projects

With three web-based application projects ahead, I had to think carefully about how to scale my development workflow. The goal is to keep learning new packages and frameworks while still utilizing the core build elements from previous projects.


This blog still runs on Flask and PostgreSQL just like before, but it now features administrative enhancements that will prove invaluable moving forward.


Key Upgrades & New Features

  1. Media Management: All media and images are now handled via Cloudinary, featuring a brand-new upload system right inside the admin console. Every post and project now has its own dedicated media gallery.
  2. SEO Improvements: SEO bugs and glitches have been fixed. I've added a dedicated administration section to manage meta tags, OpenGraph data, and meta-descriptions for every single page.
  3. Technical Infrastructure: A dynamic sitemap.xml and robots.txt have been successfully implemented to help search engines crawl the site more efficiently.


What’s Next on the Roadmap?

You might be wondering what comes next. High on the priority list is adding video support to the gallery section. Since some of my projects use Python's Tkinter, providing live online video demos is essential—not everyone wants to download an executable file or spin up a Docker container just to test a tool.


Longer-term, the roadmap involves transitioning away from Bootstrap toward a modern HTMX, Tailwind CSS, and Alpine.js setup. I'm also considering moving from Flask to FastAPI for later projects. While I've debated going down the heavy Single Page Application (SPA) route—like building a React frontend with WebSockets to sync a massive state engine between clients—lightweight approaches are winning for now. Real-time updates for active collaboration groups (similar to Trello) remain an exciting possibility for the future!


Categorized under
#Tailwind #Alpine