Hey there, I wrote a website! I was pretty new to web development and I did my best. I wrote it in Django & Python as I was already familiar with Python, and Django is a friendly framework with a good ecosystem. It was a great experience. As a beginner, I was happy to have Django there to hold my hand along the way.
However time has passed and I am getting into functional programming. Whilst functional techniques are possible in Python, it doesn't feel like a good fit. I've also been reading and listening to people talk about Phoenix, Elixir & the Erlang Virtual Machine and the combination sounds kind of great.
So, I'm going to attempt to move at least some of my website, Tango Timetable, from Django to Phoenix.
Starting Point
The site is entirely in Django, with a couple of cron jobs for weekly emails. It runs using Gunicorn behind Nginx in a Docker container. I use Docker to simplify deployments as I was finding a 'git-pull & restart' approach to be too fragile.
Disclaimer
I am comfortable with Python, experienced-but-no-expert in Django and a beginner at Phoenix & Elixir. I'm going to try to document my efforts here in future posts to share my findings but also to hopefully get guidance from others who might know better.
Top comments (3)
"combination sounds kind of great" ?? Can you explain more why you moving your
python
web app tofunctional
programming? I also hearing more aboutfunctional
programming. And howphoenix
will help andPython
-Django
not.Hey, thanks for asking. I'm not an expert in this stuff but I'll try to explain a few relevant points.
I hope some of that shows my state of mind and understanding of the situation. As I said, Django is still a great choice for my project but for reasons of personal interest and growth I'd like to try something else and Elixir seems like an exciting alternative.
This is neat !! Got a lot on the functional side. It's amazing to read the comment. Thankx for responding is such positive way. Looking forward to read more from you.