TLDR Web Dev

TLDR WEB DEV 2023-10-06

5 sections12 entriesinline urlcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

HOW GOOGLE WRITES CLEAN, MAINTAINABLE CODE

Google has a process called “readability” that allows it to maintain certain coding standards and best practices in its monolithic codebase. It has published its style guides online and has described the readability process in its book “Software Engineering at Google”. Readability helps Google increase knowledge sharing, maintain its codebase's health, enforce best practices, and sustain a culture of mentorship. However, readability results in slower code velocity. The article goes through some examples of clean TypeScript code using Google’s style guide.

engineercodex.substack.com5 min read

BEST PRACTICES FOR SECURING NODE.JS APPLICATIONS IN PRODUCTION

This article provides fifteen best practices for securing Node.js applications in production. These include setting secure HTTP headers, implementing rate limiting, and enforcing strong authentication policies. The article goes through each best practice with short code examples and images.

semaphoreci.com13 min read

02OPINIONS & ADVICE

AND TOOLS

GitHub is a remote-first company, so its communication approach is rooted in asynchronous communication. The team uses GitHub not just for code hosting, but also for planning, discussing, and documenting work. To manage communication effectively, they created the "How we communicate" guidance, with rules such as preferring asynchronous communication and embracing collaboration. GitHub also uses AI to reduce notification fatigue and summarize discussion posts, making it easy for people to catch up on conversations they missed quickly.

github.blog8 min read

NEXT.JS 13 VS REMIX: AN IN-DEPTH CASE STUDY

This is a detailed comparison between Next.js 13 and Remix Run for building an example Twitter-like app. Next.js 13 and Remix both have adopted similar layout approaches. While Remix uses loaders for data fetching, Next.js 13 introduces React Server Components, offers a superior developer experience. Both support Streaming with Suspense to enhance user experience.

prateeksurana.me33 min read

03LAUNCHES & TOOLS

CRAFT.JS

Craft.js is a React framework for building extensible drag and drop page editors. It modularizes the building blocks of a page editor and ships with a drag-and-drop system.

github.comGitHub repository

ENVALID

Envalid is a small library for validating and accessing environment variables in Node.js programs. It provides developers with documentation about a program’s expected environment and ensures that a program only runs when its environmental dependencies are met.

github.comGitHub repository

DAY.JS

Day.js is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API. If you use Moment.js, you already know how to use Day.js.

github.comGitHub repository

04MISCELLANEOUS

WHY HTTP/3 IS EATING THE WORLD

HTTP/3, a new version of the HyperText Transfer Protocol (HTTP), has gained rapid adoption on the internet, with support ranging from 19% to over 50% among web servers and networks. It is used extensively by major companies like Google and Meta. HTTP/3 solves several problems of older protocols like TCP, offering better security, encryption, efficiency, and performance. Its adoption has been driven by its improved performance, which makes it ideal for loading web pages and streaming videos.

blog.apnic.net5 min read

NO MORE VENDOR LOCK-IN? THE RISE OF SKY COMPUTING

Traditional cloud computing often confines users to vendor-specific platforms. Sky Computing reduces this dependency – it’s a technical abstraction layer on top of cloud providers that allow cloud apps to operate freely across multiple cloud providers. This approach offers benefits such as cost optimization, redundancy, risk mitigation, and performance enhancement. It allows companies to achieve greater flexibility, scalability, and avoid vendor lock-in, while cloud providers can tap into new revenue opportunities and expand their market share.

blog.bytebytego.com20 min read