TLDR Web Dev

TLDR WEB DEV 2023-08-21

5 sections12 entriesinline urlcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

A GUIDE TO OPTIMIZING JAVASCRIPT FILES

Optimizing JavaScript files resolves the issue of render blocking, page load time, and other common web performance issues. This article delves into practical JavaScript file optimization techniques, such as tree shaking, and goes through tools to help the optimization process. It also provides tips to help debug performance issues.

sitepoint.com10 min read

HOW TO CHOOSE A MESSAGE QUEUE: KAFKA VS RABBITMQ

Both Kafka and RabbitMQ are popular message queues used today. However, both are different in various domains. RabbitMQ pushes messages to consumers, then deletes each message upon receipt. On the other hand, Kafka retains messages until expiration and allows consumers to pull messages whenever they need or want to.

blog.bytebytego.com14 min read

02OPINIONS & ADVICE

IS PHP WORTH LEARNING IN 2023?

In 2023, PHP still remains a significant and relevant language in web development. The release of PHP 8 has introduced substantial enhancements, including Just-In-Time compilation for improved performance and new features for better error handling. Despite the emergence of new programming languages, PHP continues to have a thriving job market, offering competitive salaries and abundant freelance opportunities. The article emphasizes PHP's extensive ecosystem, compatibility with various technologies, and vibrant developer community as key reasons for its enduring appeal.

anastasionico.uk5 min read

ASK VS GUESS CULTURE

Ask culture is when you ask for what you want. It proposes that it's fine to make requests that someone can say no to, as it’s important to take care of your own needs first. Guess culture is when you only ask for something if you’re quite sure the other person will say yes. It proposes that it’s rude to put someone in a position where they have to say no. One’s default culture is rooted in their family upbringing and cultural background. However, at work, it’s important to be an ask-culture person, as that is often what’s required to make career progress.

open.substack.com6 min read

03LAUNCHES & TOOLS

Sponsored

MONTHS

QA Wolf

qawolf.comSponsor

RIVET

Rivet is an open-source solution to deploy, scale, and operate your multiplayer game. It features serverless lobbies for auto-scaling, streamlined DevOps for teams, a CDN for hosting assets and webpages, and a flexible matchmaker for players.

github.comGitHub repository

MOONBIT

Moonbit is a fast, compact, and user-friendly language for WebAssembly. It is influenced by Golang and Rust. The goal of Moonbit is to allow an increase in both program and dev performance for WebAssembly.

moonbitlang.com3 min read

04MISCELLANEOUS

SHORT SESSION EXPIRATION DOES NOT HELP SECURITY

Sessions typically expire a set amount of time after a user logs in. However, short session expirations do not help security. This is because reauthentication can be risky and threats usually do not rely on session length for their attacks.

sjoerdlangkemper.nl3 min read

TYPESCRIPT IS SURPRISINGLY OK FOR COMPILERS

There are two main historical languages used for compilers: OCaml and C++. However, TypeScript actually works pretty well as a compiler language due to its flexible type system. This article contains a detailed walkthrough, with code examples, of how to use TypeScript as a compiler language.

matklad.github.io7 min read