Tagged articles
1065 articles
Page 3 of 11
Architect
Architect
Sep 25, 2024 · Frontend Development

Why Choose EventSource Over WebSocket for ChatGPT‑Style Web Chats?

This article analyzes the reasons for preferring EventSource instead of WebSocket in a browser‑based ChatGPT chat system, covering protocol basics, system characteristics, advantages, code examples, performance trade‑offs, and future extensibility.

ChatGPTEventSourceNode.js
0 likes · 9 min read
Why Choose EventSource Over WebSocket for ChatGPT‑Style Web Chats?
Code Mala Tang
Code Mala Tang
Sep 21, 2024 · Backend Development

Master Command‑Line Interfaces with Yargs: From Basics to Advanced Features

This article introduces the yargs Node.js library for building command‑line interfaces, demonstrates core features such as automatic help generation, type validation, alias handling, and sub‑command support with code examples, and explains the underlying Levenshtein distance algorithm used for command recommendation.

CLILevenshteinNode.js
0 likes · 13 min read
Master Command‑Line Interfaces with Yargs: From Basics to Advanced Features
Code Mala Tang
Code Mala Tang
Sep 18, 2024 · Backend Development

Mastering Yargs: Build Powerful CLI Tools with Node.js and Levenshtein Suggestions

This article introduces the Yargs Node.js library for building command‑line interfaces, demonstrates how to define options, aliases, sub‑commands, and automatic help, and explains the Levenshtein distance algorithm used for command recommendation, complete with practical code examples and performance considerations.

CLILevenshteinNode.js
0 likes · 15 min read
Mastering Yargs: Build Powerful CLI Tools with Node.js and Levenshtein Suggestions
Code Mala Tang
Code Mala Tang
Sep 11, 2024 · Backend Development

Master Node.js Child Processes: exec, spawn, fork & IPC Explained

This guide explains the Node.js child_process module, covering its purpose, the four creation methods (exec, execFile, spawn, fork), how to handle output streams, inter‑process communication, best‑practice management tips, and when to choose child processes over worker threads.

IPCNode.jschild_process
0 likes · 14 min read
Master Node.js Child Processes: exec, spawn, fork & IPC Explained
21CTO
21CTO
Sep 7, 2024 · Frontend Development

What’s New in VS Code 1.93? ESM Migration, SQL Fixes, and Enhanced IntelliSense

The VS Code 1.93 release brings a major shift to ESM modules, fixes SQL language highlighting, adds configuration file UI improvements, introduces Django test support, and enhances IntelliSense and experimental network inspection for JavaScript and Node.js developers.

DjangoESMIntelliSense
0 likes · 6 min read
What’s New in VS Code 1.93? ESM Migration, SQL Fixes, and Enhanced IntelliSense
大转转FE
大转转FE
Sep 6, 2024 · Frontend Development

WebRTC Deep Dive: Core Concepts, Connection Flow, and a Simple Signaling Server

This article explores WebRTC’s fundamental architecture, detailing PeerConnection terminology, core methods and events, various connection strategies—including local network, STUN, and TURN—and walks through the complete signaling and ICE exchange process, culminating in a step‑by‑step Node.js WebSocket signaling server implementation with full code examples.

Node.jsPeerConnectionSTUN
0 likes · 16 min read
WebRTC Deep Dive: Core Concepts, Connection Flow, and a Simple Signaling Server
Code Mala Tang
Code Mala Tang
Sep 3, 2024 · Backend Development

Mastering async/await in Node.js: Clean Code, Error Handling, and Patterns

This article explains how async/await simplifies callback and Promise code in Node.js, covering async function basics, error handling, retry strategies, parallel execution, array iteration pitfalls, and step‑by‑step refactoring of callback‑ and Promise‑based applications into clear, maintainable async/await code.

Node.jsasync/awaitpromises
0 likes · 17 min read
Mastering async/await in Node.js: Clean Code, Error Handling, and Patterns
Code Mala Tang
Code Mala Tang
Aug 27, 2024 · Backend Development

Mastering .env Files: Secure Node.js Config with dotenv and dotenvx

This guide explains why .env files are used, how to install and configure the dotenv package, handle multiple environments, expand variables, and secure secrets with dotenvx, providing clear code examples and best‑practice recommendations for Node.js developers.

BackendConfigurationEnvironment Variables
0 likes · 9 min read
Mastering .env Files: Secure Node.js Config with dotenv and dotenvx
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Aug 27, 2024 · Backend Development

Four Node.js Version Managers That Outperform NVM

This article reviews four modern Node.js version managers—VMR, vfox, Volta, and fnm—detailing their cross‑platform support, multi‑language capabilities, user‑friendly interfaces, and GitHub links, and explains why they can be more powerful and convenient alternatives to the classic NVM tool.

Node.jsVMRVolta
0 likes · 6 min read
Four Node.js Version Managers That Outperform NVM
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Aug 9, 2024 · Backend Development

Run TypeScript Directly in Node.js with the New Experimental Flag

Node.js v22.6.0 introduces the experimental --experimental-strip-types flag, enabling developers to execute TypeScript files directly, but it only strips type annotations at runtime and imposes several usage constraints such as mandatory type‑only imports and explicit file extensions.

BackendExperimental FlagJavaScript
0 likes · 3 min read
Run TypeScript Directly in Node.js with the New Experimental Flag
Qunar Tech Salon
Qunar Tech Salon
Aug 8, 2024 · Backend Development

Using Satori and Resvg (or Sharp) for Efficient Backend Image Generation: Architecture, Implementation, and Optimizations

This article examines various image‑generation approaches, compares web‑frontend, client‑side, and backend methods, introduces a new Node‑backend solution based on Satori to convert HTML to SVG and then to PNG with Resvg (later Sharp), and details performance and memory optimizations that dramatically improve speed, resource usage, and stability for large‑scale image‑service deployments.

Node.jsResvgSatori
0 likes · 14 min read
Using Satori and Resvg (or Sharp) for Efficient Backend Image Generation: Architecture, Implementation, and Optimizations
21CTO
21CTO
Aug 6, 2024 · Backend Development

Build a Full-Featured Node.js Web Server with Express: Step‑by‑Step Guide

This tutorial walks you through installing Node.js and npm, initializing a project, adding Express, creating routes, handling static files, processing POST requests with body‑parser, implementing simple in‑memory storage, adding error handling, and rendering HTML with EJS, all illustrated with complete code examples.

Backend DevelopmentExpressJavaScript
0 likes · 16 min read
Build a Full-Featured Node.js Web Server with Express: Step‑by‑Step Guide
Code Mala Tang
Code Mala Tang
Aug 5, 2024 · Backend Development

Master VS Code launch.json: Debug Node.js and Chrome with Ease

This guide explains why developers love Google DevTools, introduces VS Code's launch.json for configuring debugging sessions, covers REPL basics, provides practical examples for Node.js and Chrome debugging, and details every launch.json option with descriptions, types, defaults, and sample code.

ChromeConfigurationDebugging
0 likes · 11 min read
Master VS Code launch.json: Debug Node.js and Chrome with Ease
Code Mala Tang
Code Mala Tang
Jul 27, 2024 · Backend Development

Master Egg‑Sequelize: From Setup to Advanced Tips for Egg.js Projects

This guide walks you through installing, configuring, and using Egg‑Sequelize in Egg.js, explains core ORM features, demonstrates model definition and CRUD operations, and covers advanced topics such as complex queries, transactions, validation, migrations, associations, and common pitfalls to avoid.

Backend DevelopmentNode.jsORM
0 likes · 13 min read
Master Egg‑Sequelize: From Setup to Advanced Tips for Egg.js Projects
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Jul 26, 2024 · Backend Development

Node.js Gains Experimental Native TypeScript Support

Node.js merged PR #53725, introducing the --experimental-strip-types flag that lets developers run TypeScript files directly by transpiling them to JavaScript without type checking, while outlining current limitations such as missing enum and namespace support, .ts file handling, and source‑map absence.

Experimental SupportJavaScriptNode.js
0 likes · 4 min read
Node.js Gains Experimental Native TypeScript Support
Code Mala Tang
Code Mala Tang
Jul 18, 2024 · Backend Development

Master Node.js Debugging with VS Code: A Complete Guide

This tutorial explains the fundamentals of Node.js debugging, covering V8 and Chrome DevTools Protocol basics, step‑by‑step CDP usage, built‑in debugger commands, and detailed VS Code configuration to help developers efficiently locate and fix issues.

Backend DevelopmentChrome DevTools ProtocolNode.js
0 likes · 17 min read
Master Node.js Debugging with VS Code: A Complete Guide
Code Mala Tang
Code Mala Tang
Jul 15, 2024 · Frontend Development

Mastering JavaScript Event Loop: How Browsers and Node Handle Async Tasks

This article demystifies the JavaScript event loop, explaining how browsers and environments like Node.js manage asynchronous tasks through call stacks, macro‑ and micro‑task queues, and various implementation libraries, illustrated with clear code examples and comparisons across Chrome, Firefox, Safari, Edge, Electron, and Deno.

AsynchronousBrowserNode.js
0 likes · 11 min read
Mastering JavaScript Event Loop: How Browsers and Node Handle Async Tasks
Code Mala Tang
Code Mala Tang
Jul 10, 2024 · Frontend Development

Master TypeScript: Practical Tips, Advanced Types, and Real-World Projects

This comprehensive guide walks you through initializing a TypeScript project, explains core and advanced type features, shows how to integrate third‑party libraries, and provides real‑world examples for React and Node.js, while offering best‑practice tips to boost code quality and performance.

GenericsNode.jsReact
0 likes · 11 min read
Master TypeScript: Practical Tips, Advanced Types, and Real-World Projects
Code Mala Tang
Code Mala Tang
Jul 8, 2024 · Information Security

Mastering SameSite Cookies: When to Use Strict, Lax, or None

Understanding the SameSite attribute lets developers control cookie transmission across sites, balancing security and usability by choosing Strict for maximum protection, Lax for a user‑friendly compromise, or None (with Secure) for cross‑site scenarios, with practical code examples and usage guidelines.

HTTPNode.jsSameSite
0 likes · 6 min read
Mastering SameSite Cookies: When to Use Strict, Lax, or None
Code Mala Tang
Code Mala Tang
Jul 5, 2024 · Frontend Development

Master TransformStream: Real-World Uses, Code Samples, and Common Pitfalls

TransformStream, a core component of the Streams API, enables developers to process and convert data chunks on the fly, offering examples ranging from simple text uppercase conversion to complex scenarios like compression, video transcoding, real-time IoT filtering, and handling common pitfalls such as errors and backpressure.

Data StreamingNode.jsTransformStream
0 likes · 13 min read
Master TransformStream: Real-World Uses, Code Samples, and Common Pitfalls
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 24, 2024 · Backend Development

Understanding Node.js: A Backend Development Overview

This article explains what Node.js is, its role as a JavaScript runtime for server‑side programming, the fundamentals of the B/S architecture, and how browsers, web servers, application servers, and databases interact to deliver static and API services.

B/S ArchitectureBackend DevelopmentNode.js
0 likes · 7 min read
Understanding Node.js: A Backend Development Overview
21CTO
21CTO
Jun 23, 2024 · Frontend Development

Top 10 JavaScript Libraries to Master in 2024: A Developer’s Guide

This article reviews the ten most valuable JavaScript libraries for 2024—including React, Redux, D3.js, TensorFlow.js, Angular, Node.js, Vue, Svelte, Three.js, and Lodash—detailing their core features, performance benefits, typical use cases, and why they remain essential tools for modern frontend development.

Data visualizationJavaScriptNode.js
0 likes · 18 min read
Top 10 JavaScript Libraries to Master in 2024: A Developer’s Guide
Code Mala Tang
Code Mala Tang
Jun 18, 2024 · Backend Development

Master Node.js Caching with lru-cache: From Basics to Advanced Techniques

Learn how to boost Node.js application performance using the popular lru-cache package, covering the LRU algorithm fundamentals, basic installation and usage, advanced features like peek, fetchMethod, and custom disposal, plus an in‑depth look at its internal Map and doubly‑linked list implementation.

BackendNode.jslru_cache
0 likes · 9 min read
Master Node.js Caching with lru-cache: From Basics to Advanced Techniques
php Courses
php Courses
Jun 13, 2024 · Backend Development

Beginner Node.js Course: Fundamentals and Core Technologies

This beginner-friendly Node.js course guides learners through installation, environment setup, asynchronous programming, module systems, event-driven architecture, and building efficient web servers with practical examples covering HTTP handling, file operations, and database integration.

AsynchronousModulesNode.js
0 likes · 3 min read
Beginner Node.js Course: Fundamentals and Core Technologies
21CTO
21CTO
Jun 10, 2024 · Frontend Development

Build a VS Code Extension to Auto‑Switch Node.js Versions Across Projects

This guide walks you through creating a VS Code extension that automatically detects the Node.js version specified in each project's package.json and switches the editor’s environment accordingly, covering setup with Yeoman, core activation code, debugging, packaging, and publishing to the Marketplace.

ExtensionJavaScriptNode.js
0 likes · 6 min read
Build a VS Code Extension to Auto‑Switch Node.js Versions Across Projects
21CTO
21CTO
Jun 7, 2024 · Backend Development

Top 5 Node.js Backend Frameworks in 2024: Express, Nest, Koa, Hapi, Adonis

This article reviews the five most popular Node.js backend frameworks of 2024—Express.js, NestJS, Koa.js, Hapi.js, and Adonis.js—highlighting their core features, typical use cases, and providing code examples to help developers choose the right tool for their projects.

Adonis.jsBackend FrameworksExpress.js
0 likes · 14 min read
Top 5 Node.js Backend Frameworks in 2024: Express, Nest, Koa, Hapi, Adonis
Wukong Talks Architecture
Wukong Talks Architecture
Jun 7, 2024 · Operations

Troubleshooting Node Installation Failure on Ubuntu Due to Missing GLIBC 2.28 and Recovery Steps

This article recounts a failed Node.js installation on an older Ubuntu server caused by a missing GLIBC 2.28 library, details the attempted GLIBC upgrade script that led to system-wide segmentation faults, and explains how reinstalling a newer Ubuntu version resolved the issue while emphasizing careful backup practices.

DeploymentNode.jsUbuntu
0 likes · 4 min read
Troubleshooting Node Installation Failure on Ubuntu Due to Missing GLIBC 2.28 and Recovery Steps
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 7, 2024 · Backend Development

Building a Fish Knowledge Quiz Bot and a Nostalgic Chess Game with Coze: Workflow, Database, and Node.js Image Generation

This article explains how to create two interactive Coze bots—a fish‑knowledge quiz and a nostalgic 147‑258‑369 chess game—by designing workflows, integrating large language models, using databases, and implementing Node.js code for canvas drawing and GIF generation, complete with deployment tips.

AIBot DevelopmentCoze
0 likes · 10 min read
Building a Fish Knowledge Quiz Bot and a Nostalgic Chess Game with Coze: Workflow, Database, and Node.js Image Generation
DeWu Technology
DeWu Technology
May 27, 2024 · Frontend Development

Technical Architecture and Design of a Landing Page Editor

The article details the technical architecture and design of the StarCreate landing‑page editor, describing its monorepo structure, low‑code JSON template, backend permission system, canvas implementation choices, Valtio state management, and the resulting operational benefits and future expansion plans.

Editor ArchitectureMonorepoNode.js
0 likes · 16 min read
Technical Architecture and Design of a Landing Page Editor
Goodme Frontend Team
Goodme Frontend Team
May 24, 2024 · Frontend Development

Explore Cutting‑Edge Frontend & Backend Tools: React Compiler, Deno JSX, Image Loading Hacks

This curated roundup highlights recent technical resources—including React Compiler, Deno's JSX migration, Node v22.2.0, image loading optimizations, short‑URL generation, hooks ref handling, HTTP proxy solutions, and notification system design—to keep developers up‑to‑date with modern web development practices.

HTTP proxyNode.jsNotification System
0 likes · 5 min read
Explore Cutting‑Edge Frontend & Backend Tools: React Compiler, Deno JSX, Image Loading Hacks
php Courses
php Courses
May 23, 2024 · Backend Development

Why Node.js Outperforms Traditional PHP for Large-Scale E-commerce Platforms

Traditional PHP architectures suffer from single‑threaded request handling that slows page loads on high‑traffic e‑commerce sites, whereas Node.js’s asynchronous, non‑blocking I/O and event‑driven architecture provide faster loading, superior scalability, and real‑time capabilities, making it a better fit for platforms like Amazon.

AsynchronousNode.jsPHP
0 likes · 5 min read
Why Node.js Outperforms Traditional PHP for Large-Scale E-commerce Platforms
php Courses
php Courses
May 20, 2024 · Backend Development

PHP: A Still-Powerful Backend Language for Modern Web Development

The article examines PHP’s role in web development, outlining its strengths such as ease of use, open‑source community, and server‑side capabilities, while also discussing reasons for its declining popularity, the shift to JavaScript frameworks, and why it still remains a viable backend choice for many projects.

Backend DevelopmentNode.jsPHP
0 likes · 9 min read
PHP: A Still-Powerful Backend Language for Modern Web Development
JD Retail Technology
JD Retail Technology
May 17, 2024 · Backend Development

Using NAPI‑RS to Develop, Debug, and Publish Node.js Extensions with Rust

This article introduces how to use NAPI‑RS for developing, debugging, and publishing Node.js extensions in Rust, covering Rust’s growing role in frontend tooling, project setup with @napi‑rs/cli, exposing functions and objects to JavaScript, handling callbacks, asynchronous calls, and CI/CD build and release processes.

NAPI-RSNode.jsRust
0 likes · 20 min read
Using NAPI‑RS to Develop, Debug, and Publish Node.js Extensions with Rust
Architect
Architect
May 16, 2024 · Backend Development

Server‑Sent Events (SSE) vs WebSocket vs Polling: Concepts, Comparison, and Implementation Demo

This article explains the three common server‑to‑client push techniques—polling, WebSocket, and Server‑Sent Events—detailing their principles, advantages, drawbacks, appropriate use‑cases, and provides complete front‑end and Node‑Express back‑end demo code to help developers choose and implement the right solution.

ExpressNode.jsPolling
0 likes · 12 min read
Server‑Sent Events (SSE) vs WebSocket vs Polling: Concepts, Comparison, and Implementation Demo
Architecture Digest
Architecture Digest
May 8, 2024 · Frontend Development

Electron Cross‑Platform Development Guide: Environment Setup, Project Structure, and Sample Applications

This article provides a comprehensive tutorial on building cross‑platform desktop applications with Electron, covering environment setup, essential command‑line tools, project initialization, detailed source‑code directory structure, main and renderer processes, inter‑process communication, and example projects such as a music player.

Desktop DevelopmentElectronNode.js
0 likes · 11 min read
Electron Cross‑Platform Development Guide: Environment Setup, Project Structure, and Sample Applications
Goodme Frontend Team
Goodme Frontend Team
May 6, 2024 · Frontend Development

npm vs Yarn vs pnpm: Which JavaScript Package Manager Wins in Speed and Space?

This article traces the evolution of JavaScript package managers—from early manual inclusion methods to npm, Yarn, and pnpm—detailing their architectures, performance characteristics, version‑locking mechanisms, and trade‑offs, helping developers choose the most suitable tool for modern frontend projects.

Node.jsYARNfrontend development
0 likes · 12 min read
npm vs Yarn vs pnpm: Which JavaScript Package Manager Wins in Speed and Space?
Tencent Cloud Developer
Tencent Cloud Developer
Apr 23, 2024 · Backend Development

Performance Optimization of the qs Library: A 5× Speedup Case Study

A Tencent engineer fixed a severe memory‑leak in the qs library’s encode function by processing 30 MB strings in 1024‑character chunks, reducing heap usage from 2.5 GB to 0.48 GB and cutting runtime from 7.9 s to 2.1 s, achieving a five‑fold speedup and memory reduction, and contributed the change as an open‑source pull request.

BenchmarkJavaScriptNode.js
0 likes · 10 min read
Performance Optimization of the qs Library: A 5× Speedup Case Study
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 17, 2024 · Backend Development

Getting Started with CozeIDE: Build and Deploy Plugins in 10 Minutes

This guide introduces CozeIDE, explains its main features such as code editing, dependency management, AI programming assistant, testing and publishing, and walks you through two complete plugin development examples—including a stock‑price lookup plugin—showing how to create, test, and release plugins using Node.js or Python runtimes.

AI AssistantCozeIDENode.js
0 likes · 12 min read
Getting Started with CozeIDE: Build and Deploy Plugins in 10 Minutes
Selected Java Interview Questions
Selected Java Interview Questions
Apr 14, 2024 · Backend Development

Server‑to‑Client Data Push: SSE, WebSocket, and Polling – Concepts, Comparison, and Demo

This article explains the three common server‑to‑client push techniques—polling, WebSocket, and Server‑Sent Events (SSE)—detailing their principles, advantages, drawbacks, browser compatibility, appropriate use‑cases, and provides a complete Node.js/Express demo with front‑end code.

ExpressNode.jsPolling
0 likes · 13 min read
Server‑to‑Client Data Push: SSE, WebSocket, and Polling – Concepts, Comparison, and Demo
ByteFE
ByteFE
Apr 9, 2024 · Fundamentals

Understanding and Managing Dependencies in Node.js Projects

This article explores the hidden complexities of dependency management in modern Node.js development, covering the risks of unstable package structures, versioning pitfalls, various dependency types, ghost and circular dependencies, and provides practical strategies and best‑practice recommendations to keep dependency graphs stable, secure, and maintainable.

Node.jsSoftware Engineeringnpm
0 likes · 28 min read
Understanding and Managing Dependencies in Node.js Projects
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 9, 2024 · Fundamentals

A Comprehensive Overview of JavaScript Module Systems: From Traditional Scripts to ESM

This article traces the evolution of JavaScript module systems—from the early script tags and manual dependency ordering, through CommonJS, AMD, and UMD, to the modern ECMAScript modules—explaining their origins, challenges, and how bundlers and package fields enable seamless usage across browsers and Node.js environments.

AMDCommonJSESM
0 likes · 13 min read
A Comprehensive Overview of JavaScript Module Systems: From Traditional Scripts to ESM
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 6, 2024 · Frontend Development

Building a Monorepo-Style Node.js CLI Scaffolding Tool for Frontend Projects

This comprehensive tutorial walks you through creating a Node.js command‑line scaffolding tool that uses yargs for argument parsing, inquirer for interactive prompts, copy‑dir for file operations, mustache for dynamic templates, and pnpm with ora for automated dependency installation, all organized in a monorepo structure.

CLIMonorepoNode.js
0 likes · 30 min read
Building a Monorepo-Style Node.js CLI Scaffolding Tool for Frontend Projects
21CTO
21CTO
Mar 31, 2024 · Backend Development

Top 5 Node.js Backend Frameworks to Master in 2024

An overview of the five most popular Node.js backend frameworks in 2024—Express.js, NestJS, Koa.js, Hapi.js, and Adonis.js—detailing their key features, typical use cases, and code examples to help developers choose the right tool for building scalable web applications.

Adonis.jsExpress.jsHapi.js
0 likes · 14 min read
Top 5 Node.js Backend Frameworks to Master in 2024
HelloTech
HelloTech
Mar 28, 2024 · Backend Development

Introduction to Node.js and Comparison of Version Management Tools (NVM, N, Volta)

Node.js extends JavaScript to the server, offering a lightweight, event‑driven runtime that front‑end developers use for APIs, tooling, and SSR, while version‑management tools like NVM, N, and Volta simplify installing and switching multiple Node versions, each with distinct strengths in maturity, speed, and project‑level automation.

JavaScriptNVMNode.js
0 likes · 16 min read
Introduction to Node.js and Comparison of Version Management Tools (NVM, N, Volta)
Java Backend Technology
Java Backend Technology
Mar 9, 2024 · Backend Development

From Solo Project to Official Redis Client: The ioredis Journey

The ioredis author @Luin announced the library's acquisition by Redis Inc., recounting its nine‑year evolution from a personal side project created to address missing Promise support, aesthetic command syntax, and lacking Cluster/Sentinel features into the most popular Node.js Redis client today.

AcquisitionNode.jsOpenSource
0 likes · 3 min read
From Solo Project to Official Redis Client: The ioredis Journey
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 7, 2024 · Backend Development

Getting Started with Strapi: Installation, Configuration, CRUD Operations, and Data Migration

This guide introduces Strapi, an open‑source headless CMS, covering its key features, quick installation, language switching, basic usage for creating content types, exposing RESTful and GraphQL CRUD APIs, visualizing data with external tools, and migrating SQLite databases to other systems.

Backend DevelopmentCRUDData Migration
0 likes · 8 min read
Getting Started with Strapi: Installation, Configuration, CRUD Operations, and Data Migration
21CTO
21CTO
Mar 4, 2024 · Backend Development

How ioredis Became the Leading Node.js Redis Client and Got Acquired

ioredis, a high‑performance Node.js Redis client created by luin, uses a single‑socket pipeline for efficient command batching, has attracted enterprise users like Alibaba, and after years of growth was officially acquired by Redis, with its source now hosted on GitHub.

BackendNode.jsPipeline
0 likes · 4 min read
How ioredis Became the Leading Node.js Redis Client and Got Acquired
IT Services Circle
IT Services Circle
Mar 3, 2024 · Databases

ioredis Node.js Redis Client Acquired by Redis Ltd – History, Features, and Migration

The ioredis project, a robust Node.js Redis client created by Luin to address shortcomings in existing libraries, has been acquired by Redis Ltd, with its repository moved under the official Redis organization, highlighting its nine‑year evolution from a personal side project to a leading open‑source database client.

AcquisitionDatabase clientNode.js
0 likes · 3 min read
ioredis Node.js Redis Client Acquired by Redis Ltd – History, Features, and Migration
Liangxu Linux
Liangxu Linux
Feb 21, 2024 · Cloud Native

Why a Default Kubernetes Setting Can Spike CPU Usage and How to Fix It

A Node.js service migrated to containers began experiencing intermittent timeouts and high CPU usage due to the default enableServiceLinks parameter injecting thousands of environment variables, and the analysis shows how to identify, reproduce, and resolve the issue with Kubernetes configuration and code adjustments.

ContainerDebuggingKubernetes
0 likes · 14 min read
Why a Default Kubernetes Setting Can Spike CPU Usage and How to Fix It
IT Services Circle
IT Services Circle
Feb 1, 2024 · Frontend Development

Understanding Headless Browsers and Using Puppeteer for Automation, Screenshots, and PDF Generation

This article explains what headless browsers are, outlines their advantages and limitations, introduces Puppeteer as a Node.js library for controlling headless Chrome, and provides step‑by‑step code examples for taking screenshots, generating PDFs, and performing automated web interactions.

Headless BrowserNode.jsPuppeteer
0 likes · 11 min read
Understanding Headless Browsers and Using Puppeteer for Automation, Screenshots, and PDF Generation
IT Services Circle
IT Services Circle
Jan 27, 2024 · Cloud Computing

Using Alibaba Cloud OSS for File Uploads: Setup, Code Samples, and Best Practices

This article explains why direct file storage on application servers is not scalable, introduces Alibaba Cloud OSS as an object storage solution, walks through bucket creation, access key management, Node.js upload code, temporary credentials for browser uploads, CDN integration, and security considerations, providing a complete end‑to‑end upload workflow.

Alibaba CloudCDNNode.js
0 likes · 10 min read
Using Alibaba Cloud OSS for File Uploads: Setup, Code Samples, and Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 17, 2024 · Backend Development

Why Prisma Is the Preferred Node.js ORM Over TypeORM in 2024

In 2024 the Prisma ORM outperforms TypeORM for Node.js projects thanks to more frequent updates, richer ecosystem, superior type safety, simpler integration, built‑in pagination and aggregation features, and a dramatically better developer experience illustrated with real code examples.

BackendDeveloper ExperienceNode.js
0 likes · 15 min read
Why Prisma Is the Preferred Node.js ORM Over TypeORM in 2024
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Dec 29, 2023 · Frontend Development

Master Frontend Design Patterns, Grid Layouts, and Node.js Addons

This article explores high‑frequency frontend design patterns, demonstrates how mastering CSS Grid simplifies layouts, introduces Node.js Addons for native capabilities, reviews Meta’s StyleX CSS‑in‑JS library, recaps major 2023 frontend developments, and highlights the Cloud Academy frontend team.

2023 trendsCSS GridDesign Patterns
0 likes · 4 min read
Master Frontend Design Patterns, Grid Layouts, and Node.js Addons
CSS Magic
CSS Magic
Dec 26, 2023 · Backend Development

Capturing Node.js HTTPS Requests with Charles: A Step‑by‑Step Guide

The article walks through the author's investigation of why a Node.js CLI tool using Got fails to route HTTPS requests through Charles, compares direct proxy versus reverse‑proxy strategies, and provides a step‑by‑step implementation using https‑proxy‑agent and Got with certificate verification disabled, enabling successful request capture.

CharlesDebuggingGoT
0 likes · 6 min read
Capturing Node.js HTTPS Requests with Charles: A Step‑by‑Step Guide
37 Interactive Technology Team
37 Interactive Technology Team
Dec 18, 2023 · Frontend Development

Using LangChain to Automatically Generate Front‑End Code from Documentation

This guide shows how to use LangChain with OpenAI’s API, Puppeteer, and vector stores to automatically read local or web‑based API documentation, split and retrieve relevant text, and prompt an LLM to generate ready‑to‑use TypeScript front‑end code, highlighting setup, prompt design, and example outputs.

Front-end Code GenerationLangChainNode.js
0 likes · 15 min read
Using LangChain to Automatically Generate Front‑End Code from Documentation
MaGe Linux Operations
MaGe Linux Operations
Nov 17, 2023 · Backend Development

How to Build a Bi‑directional MQTT Sensor Network with Node.js

This article outlines the background, terminology, network architecture, and step‑by‑step Node.js implementation of both MQTT broker and client for a sensor project, enabling two‑way communication between cloud platforms and edge devices without fixed IPs, complete with code snippets and visual results.

Backend DevelopmentEdge ComputingIoT
0 likes · 6 min read
How to Build a Bi‑directional MQTT Sensor Network with Node.js
Ctrip Technology
Ctrip Technology
Nov 9, 2023 · Backend Development

Exploring Ctrip Flight IVR Visual Platform: Architecture, Evolution, and Implementation

This article details the evolution of Ctrip's flight IVR system from a simple Chinese‑only version to a multilingual, fully visualized low‑code platform, describing its architecture, core components such as data definition, rule and script engines, version management, and the underlying Node.js and React technologies.

Backend DevelopmentIVRNode.js
0 likes · 14 min read
Exploring Ctrip Flight IVR Visual Platform: Architecture, Evolution, and Implementation
php Courses
php Courses
Nov 7, 2023 · Backend Development

Top 10 Popular Web Development Stacks and How to Choose the Right One

This article introduces the ten most popular web development stacks—MERN, MEAN, LAMP, MEVN, Django, Ruby on Rails, MERN with Nest.js, Laravel, PERN, and ASP.NET Core—explains their components, provides code examples, and offers guidance on selecting the most suitable stack for a project.

DjangoLAMPMERN
0 likes · 9 min read
Top 10 Popular Web Development Stacks and How to Choose the Right One
Software Development Quality
Software Development Quality
Oct 31, 2023 · Frontend Development

Export Feishu Knowledge Base to Static Sites with Feishu Pages

This guide explains how to export a Feishu knowledge base, configure required Feishu app permissions, set environment variables, and install the Feishu Pages npm package to generate a static website using a Markdown‑based static page generator, supporting CI/CD workflows.

DocumentationFeishuGitHub Actions
0 likes · 6 min read
Export Feishu Knowledge Base to Static Sites with Feishu Pages
Airbnb Technology Team
Airbnb Technology Team
Sep 22, 2023 · Backend Development

Improving Page Performance with HTTP Streaming: Airbnb’s Early Flush Implementation

Airbnb boosted page performance by implementing HTTP streaming with an early‑flush strategy that sends the head chunk first, allowing browsers to start loading CSS and JavaScript while the server fetches data, cutting First Contentful Paint by roughly 100 ms despite challenges like tag handling, buffering, and latency.

Early FlushHTTP streamingNode.js
0 likes · 11 min read
Improving Page Performance with HTTP Streaming: Airbnb’s Early Flush Implementation
php Courses
php Courses
Sep 22, 2023 · Frontend Development

19 Common JavaScript Performance Pitfalls and How to Avoid Them

This article identifies nineteen common performance pitfalls in JavaScript and Node.js applications—ranging from improper variable scope and inefficient DOM manipulation to blocking I/O, unoptimized loops, and excessive dependencies—providing illustrative code examples and actionable solutions to improve speed and responsiveness.

JavaScriptNode.jsbest practices
0 likes · 16 min read
19 Common JavaScript Performance Pitfalls and How to Avoid Them
21CTO
21CTO
Sep 7, 2023 · Artificial Intelligence

Elon Musk’s xAI Plans, Google’s Generative Search Rollout, and Node.js 20.6 Highlights

The article summarizes recent AI and development news, covering Elon Musk’s vision to integrate his companies into the xAI project, Google’s expansion of its Search Generative Experience to Japan and India, Tencent’s new large language model, and Node.js 20.6’s .env support and Oilpan garbage collector.

Elon MuskNode.jsOilpan
0 likes · 10 min read
Elon Musk’s xAI Plans, Google’s Generative Search Rollout, and Node.js 20.6 Highlights
Open Source Tech Hub
Open Source Tech Hub
Sep 3, 2023 · Backend Development

How to Install and Use fnm: The Fast Rust‑Based Node.js Version Manager

fnm is a fast, Rust‑built, cross‑platform Node.js version manager that simplifies installing, switching, and uninstalling Node versions, with step‑by‑step instructions for WSL and Windows installations, usage commands, alias setup, and common operations, all illustrated with code snippets and screenshots.

CLINode.jsRust
0 likes · 4 min read
How to Install and Use fnm: The Fast Rust‑Based Node.js Version Manager
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 5, 2023 · Frontend Development

How to Build, Optimize, and Publish a Full‑Featured CLI Scaffolding Tool for Frontend Projects

This tutorial walks you through creating a 100‑line Node.js CLI scaffolding tool that supports global and local installation, interactive project and template selection, command‑line arguments, loading animations, overwrite prompts, dynamic template fetching via GitHub API, and finally publishing the package to npm for frontend engineers.

CLIJavaScriptNode.js
0 likes · 22 min read
How to Build, Optimize, and Publish a Full‑Featured CLI Scaffolding Tool for Frontend Projects
Weimob Technology Center
Weimob Technology Center
Jul 28, 2023 · Frontend Development

JavaScript Sandboxes for Secure Micro‑Frontend Apps: Techniques & Examples

This article explains the concept of sandbox security mechanisms, explores their use cases in iPaaS API orchestration and micro‑frontend applications, compares eval, Function, with + proxy techniques, presents JavaScript, iframe and Node vm sandbox implementations, and details practical deployments within the Kraken framework and a centralized approval service.

JavaScriptNode.jsSecurity
0 likes · 18 min read
JavaScript Sandboxes for Secure Micro‑Frontend Apps: Techniques & Examples
AntTech
AntTech
Jul 18, 2023 · Information Security

HODOR: Shrinking the Attack Surface on Node.js via System Call Limitation

Researchers from Shanghai Jiao Tong University, Ant Security Light-Year Lab, and Zhejiang University present HODOR, a system that reduces the attack surface of Node.js applications by generating fine-grained system‑call allowlists using Seccomp, achieving an average 80% reduction in exploit surface with negligible runtime overhead.

Node.jsSecuritySystem Call
0 likes · 12 min read
HODOR: Shrinking the Attack Surface on Node.js via System Call Limitation