TLDR Web Dev

TLDR WEB DEV 2024-05-08

6 sections14 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

MULTI-TENANT DATA LAKES AND EMBEDDED ANALYTICS

Multi-tenant data lakes provide a secure and scalable foundation for customer-facing analytics [4]. Companies like Zendesk (145,000 accounts), Asana (100,000+ customers), and Zuora (1000s of platforms) leverage this combination for efficient resource utilization, tenant data isolation, and contextual insights, unlocking value from

qrvey.comSponsor

02ARTICLES & TUTORIALS

TOKEN-BASED AUTHENTICATION AND JWTS

Token-based authentication is when a user is authenticated by presenting a digitally signed token instead of entering a password. It's a common alternative to session-based authentication. JSON Web Tokens (JWTs) are a popular implementation of token-based authentication as they have a self-contained structure that includes user data and a signature for integrity verification. This article provides code implementations for both generic token-based authentication and JWTs.

swequiz.com7 min read

REACT QUERY AND REACT CONTEXT

React Query and React Context can be used together to manage data dependencies and make component logic simpler. Combining both makes implicit dependencies (like knowing a query has been executed elsewhere) clear and visible in your code.

tkdodo.eu6 min read

03OPINIONS & ADVICE

HOW DO YOU ADDRESS AND PREVENT FLAKY TESTS?

Flaky tests are when tests sometimes pass and sometimes don't. Most of the time, they occur due to tests being poorly written and not hermetic. Sometimes, they can be due to resource constraints or data conflicts in the test environment. To prevent flaky tests, developers should catch them early by running tests often and reduce dependencies on external factors as much as possible.

bit.ly7 min read

HOW REFACTORING ALMOST RUINED MY MARRIAGE

Developers often feel the urge to rewrite code they perceive as messy, even if it's their own relatively recent work. This is because reading code is inherently harder than writing it. However, code that works and has been in production for a long time is often more stable and robust than developers realize.

zaidesanton.substack.com6 min read

04LAUNCHES & TOOLS

DRAWDB

DrawDB is a database entity-relationship editor in the browser. Developers can use it to build diagrams, export SQL scripts, and more.

github.comGitHub repository

TEABLE

Teable is a no-code database built on Postgres. It uses a spreadsheet-like interface to help create complex enterprise-level database applications.

github.comGitHub repository

05MISCELLANEOUS

HOW TO USE JSON PATH

JSONPath is a language for querying and extracting data from JSON documents. It can be used for tasks like updating OpenAPI descriptions or writing validation rules. Its syntax is inspired by XPath, making it easy to navigate JSON structure and find specific data.

bump.sh10 min read

HOW AI APPS MAKE MONEY

While AI applications offer new capabilities to users, the pricing is mostly the same as traditional software applications. Most AI apps use subscription models, often based on the number of users. Free versions or trials are common to drive initial adoption. A new pricing model that AI could help facilitate is success-based pricing, where the user gets charged only when the product delivers a successful outcome.

growthunhinged.com9 min read