← All moments
Moment
From PHP to Python: Why I'm Learning Flask
PHP
Python
Most of what I've shipped — billing systems, resume builders, finance trackers — has been PHP and MySQL. It's a stack I know well: fast to write, easy to deploy, and more than capable for the self-hosted web apps I like building.
Lately I've been spending more time with Python, and specifically Flask, for a few reasons:
- Scripting and automation. A lot of the small tools I build on the side are naturally Python territory.
- A different way to structure web apps. Flask's minimalism is a good contrast to a full framework setup.
- The ecosystem. Data tools, automation libraries, and ML tooling lean Python.
PHP isn't going anywhere for me. But Flask is becoming a solid second option, especially for anything closer to scripting than to a full web app.
