Django and Postgres for the Busy Rails Developer | Andrew Atkinson - Software Engineer, Author, High Performance PostgreSQL for Rails

submited by
Style Pass
2024-11-30 13:00:02

About 10 years ago I wrote a post PostgreSQL for the Busy MySQL Developer, as part of switching from MySQL to Postgres for my personal and professional projects, wherever I could.

The team I worked with was experienced with Django, so I was curious to learn from them about popular libraries, idiomatic code, and tooling.

In this post, I’ll briefly cover the database parts of Django using Postgres of course, highlight some libraries and tools, and compare things to Ruby on Rails. You’ll find a small Django repo towards the end as well.

Ruby and Python are both general purpose programming languages. On the similarity side, they can both be used to write script style code, or organize code into classes using object oriented paradigms.

In local development, it felt like the execution of Python was perhaps faster than Ruby, however I’ve noticed that new apps are always fast to work with, given how little code is being loaded and executed.

As a developer we typically need to run multiple versions of Ruby, Python, Node, and other runtimes, to support different codebases, and to avoid modifying our system installation.

Leave a Comment