Tech Highlights
Tomaz Alencar

Tomaz Alencar

11 Nov 2024 2 min read

Tech Highlights #5

Hi, labfollower! Periodically, our devs share what they are reading, and in this edition, we bring highlights about Django libraries and triggers, big releases, social media tech, and more!

Do you like this kind of content? Subscribe to our newsletter on lab.codes/labnews-subscribe and access our recommendations firsthand every month.

Best regards, LabTeam.

Building Reusable Components in Django

In this article (part of a series), Michael Yin showcases his library, django-viewcomponent, which takes inspiration on Rails' ViewComponent. The idea of the library is to allow the creation of reusable components by defining them in the backend as Python classes.

Write Postgres triggers for your Django models

django-pgtrigger enables PostgreSQL triggers while keeping them visible in the codebase, offering clear advantages over signals and model methods. pg-trigger improves reliability by handling database operations directly, avoids the complexity of overriding models, and enhances performance by executing SQL without extra round trips, making it ideal for tasks like history tracking and data denormalization.

Probuf and the pros and cons of binary encodings

Protobuf is a free and open-source cross-platform data format used to serialize structured data. This article presents an overview of some aspects of data serialization (Binary encodings vs. Textual formats) and how Protobuf applies and shines in this context.

PgBouncer vs RDS Proxy

While PgBouncer and RDS Proxy aim to enhance database performance, they have distinct differences. This brief article compares the two tools, highlighting their advantages and disadvantages.

AI-Powered Conversion From Enzyme to React Testing Library

A shift at Slack led to the conversion of over 15,000 Enzyme tests to React Testing Library (RTL). This blog post presents details of migrating from Enzyme to RTL due to lack of native support for React 18.

ATProto for distributed systems engineers

AT Protocol is the tech developed at Bluesky for open social networking. In this article, they explore AT Proto from the perspective of distributed backend engineering.

React Native 0.76 release

The result of 6 years of work, version 0.76 is a major milestone for React Native as they are enabling the New Architecture by default and introducing React Native DevTools.