Month: September 2023

How to Use Jinja-Like Syntax in Julia Web Apps with Oxygen.jl

Oxygen.jl is a simple microframework that is quite useful for creating web apps and APIs in Julia. In my opinion, it is like the Flask of Julia as GenieFramework.jl is like the Django of Julia. Since it is quite new( Sept 2023), it does not yet have support for using Jinja – a templating engine …

How to Use Jinja-Like Syntax in Julia Web Apps with Oxygen.jl Read More »

Django Query Optimization – Avoiding N + 1 Problems

There are several ways to avoid the N+1 query problem in Django: Use select_related: select_related is a method that performs a SQL join and includes the fields of the related object in the SELECT statement. It’s useful when you have ForeignKey or OneToOneField on your model and you know you’ll be accessing the related object for each item …

Django Query Optimization – Avoiding N + 1 Problems Read More »