Tagged articles

Node.js

1136 articles · Page 9 of 12
Node Underground
Node Underground
Oct 20, 2019 · Backend Development

Stabilize Your npm Packages with ncc: Avoid Dependency Nightmares

This article explains why npm package version changes can break projects, illustrates common pitfalls with examples, and shows how using the ncc tool to bundle dependencies into a single JavaScript file can make installations faster, smaller, and more reliable.

Dependency ManagementNode.jsncc
0 likes · 6 min read
Stabilize Your npm Packages with ncc: Avoid Dependency Nightmares
Node Underground
Node Underground
Oct 14, 2019 · Backend Development

How to Harness Node.js Worker Threads with Shared Memory and CGroup Limits

This article demonstrates creating Node.js Worker Threads to compute Fibonacci numbers, explains message passing via workerData and parentPort, explores shared memory with SharedArrayBuffer, and shows how to isolate and limit thread CPU usage using Linux CGroup controls, including retrieving thread IDs via a custom native addon.

Node.jsSharedArrayBuffercgroup
0 likes · 8 min read
How to Harness Node.js Worker Threads with Shared Memory and CGroup Limits
政采云技术
政采云技术
Oct 10, 2019 · Frontend Development

DIY VSCode Extension: A Step‑by‑Step Guide to Boost Development Efficiency

This article provides a comprehensive tutorial on creating a VSCode extension—from preparing the development environment and using Yeoman scaffolding to implementing code‑snippet contributions, debugging, packaging, and publishing—complete with command‑line examples and detailed explanations of key configuration files.

Extension DevelopmentNode.jsPackaging
0 likes · 11 min read
DIY VSCode Extension: A Step‑by‑Step Guide to Boost Development Efficiency
WecTeam
WecTeam
Oct 9, 2019 · Backend Development

Build a Simple Mocha Clone from Scratch: Step‑by‑Step Guide

This article walks through creating a lightweight Mocha‑like testing framework in JavaScript, covering BDD‑style APIs, directory layout, suite and test class design, hook handling, asynchronous support, a runner that traverses the suite‑test tree, and a reporter that outputs test results.

BDDJavaScriptNode.js
0 likes · 21 min read
Build a Simple Mocha Clone from Scratch: Step‑by‑Step Guide
Youzan Coder
Youzan Coder
Sep 27, 2019 · Backend Development

Why Server‑Side Rendering Beats SPA for E‑Commerce: Vue SSR Deep Dive

This article examines the evolution from backend template engines to SPA, highlights SPA's SEO and first‑paint drawbacks, and presents a detailed Vue server‑side rendering implementation with optimization techniques, degradation strategies, and performance results showing over 300% faster first‑screen rendering.

Node.jsPerformanceSSR
0 likes · 16 min read
Why Server‑Side Rendering Beats SPA for E‑Commerce: Vue SSR Deep Dive
WecTeam
WecTeam
Sep 27, 2019 · Backend Development

How We Reduced Server CPU Usage by 20% with Vue Render Function Optimizations

This article details how the MPM page rendering service at JD.com was profiled with v8‑profiler, identified heavy replace and compile calls, and applied string‑splitting, Vue transformCode hooks, and a custom lightweight compiler to cut CPU consumption by roughly 20%, improving stability during traffic spikes.

CPU profilingNode.jsServer Rendering
0 likes · 24 min read
How We Reduced Server CPU Usage by 20% with Vue Render Function Optimizations
Youzan Coder
Youzan Coder
Sep 25, 2019 · Frontend Development

Design and Implementation of a Front-End Integration Test Coverage Tool

The project implements a front‑end integration test coverage tool that instruments client code with a Babel plugin and server code with istanbul‑middleware, collects real‑time line/branch data via a Chrome extension and timed uploads, stores versioned results on a coverage server, and visualizes incremental coverage dashboards, providing an objective quality gate and achieving over 80 % incremental line coverage in production.

BabelInstrumentationIstanbul
0 likes · 10 min read
Design and Implementation of a Front-End Integration Test Coverage Tool
System Architect Go
System Architect Go
Sep 24, 2019 · Backend Development

Do CPU‑Intensive Tasks Block Node.js? An Experimental Study of libuv Thread Pool

An experiment demonstrates that CPU‑intensive encryption tasks do not block Node.js when the number of concurrent tasks does not exceed libuv’s default four‑thread pool, but adding a fifth task causes blocking, illustrating how libuv’s thread pool size and environment variable UV_THREADPOOL_SIZE affect concurrency.

CPU-intensiveNode.jslibuv
0 likes · 3 min read
Do CPU‑Intensive Tasks Block Node.js? An Experimental Study of libuv Thread Pool
System Architect Go
System Architect Go
Sep 17, 2019 · Information Security

Sequelize ORM SQL Injection Vulnerabilities and Affected Versions

The article outlines several SQL injection vulnerabilities discovered in various Sequelize ORM versions, explains the underlying causes related to improper JSON path key handling for MySQL, MariaDB, Postgres, and SQLite, provides reproduction screenshots, and strongly advises upgrading to patched releases.

Node.jsORMSQL injection
0 likes · 3 min read
Sequelize ORM SQL Injection Vulnerabilities and Affected Versions
Architects Research Society
Architects Research Society
Sep 14, 2019 · Backend Development

Understanding API Gateways and Their Role in Microservice Architectures

This article explains what an API gateway is, why it is essential in microservice architectures, and how it handles cross‑cutting concerns such as authentication, transport security, load balancing, request routing, dependency resolution, and data transformation, illustrated with a simple Node.js gateway example and code snippets.

API GatewayNode.jsauthentication
0 likes · 11 min read
Understanding API Gateways and Their Role in Microservice Architectures
Node Underground
Node Underground
Sep 13, 2019 · Backend Development

Deep Dive into Node.js Runtime: Optimization, V8 Tweaks, and Serverless Insights

This article recaps a hardcore Node.js underground salon where experts explored runtime optimization, V8 engine enhancements, Alinode monitoring, fork(2) performance tricks, and core startup processes, highlighting practical insights for Serverless, IoT, and high‑performance backend development.

Node.jsPerformanceRuntime Optimization
0 likes · 5 min read
Deep Dive into Node.js Runtime: Optimization, V8 Tweaks, and Serverless Insights
Beike Product & Technology
Beike Product & Technology
Sep 6, 2019 · Backend Development

How to Build and Publish a Simple Node.js CLI Tool

This article guides JavaScript developers through creating a simple Node.js command-line interface (CLI) tool from scratch, covering setup, scripting, permission handling, environment variables, npm packaging, publishing, and best practices, enabling efficient custom command creation.

CLICommand-lineNode.js
0 likes · 11 min read
How to Build and Publish a Simple Node.js CLI Tool
Sohu Tech Products
Sohu Tech Products
Sep 4, 2019 · Frontend Development

Building a Real‑Time Video Chat Application with Vue, WebRTC, Socket.io, Node.js and Redis

This tutorial walks through creating a full‑stack video‑chat app that supports multiple chat rooms, private messaging, user status, and peer‑to‑peer video calls by combining Vue.js for the frontend, Vuex for state management, Socket.io for real‑time communication, a Node/Express backend, Redis for scaling, and Docker for deployment.

DockerNode.jsRedis
0 likes · 26 min read
Building a Real‑Time Video Chat Application with Vue, WebRTC, Socket.io, Node.js and Redis
Node Underground
Node Underground
Aug 31, 2019 · Backend Development

Mastering Node.js Worker Threads: Boost CPU‑Intensive Tasks

This article explains the architecture of Node.js, the limitations of its single‑threaded event loop for CPU‑heavy workloads, and how the experimental worker_threads module provides a multi‑threaded solution, including core concepts, APIs, best practices, and sample code to improve performance.

CPU-intensiveNode.jsconcurrency
0 likes · 10 min read
Mastering Node.js Worker Threads: Boost CPU‑Intensive Tasks
Taobao Frontend Technology
Taobao Frontend Technology
Aug 29, 2019 · Backend Development

How to Slash Node.js Serverless Startup Time Below 100 ms

This article examines why Node.js serverless functions often exceed the desired 100 ms cold‑start target, analyzes profiling data to pinpoint costly file I/O and compilation steps, and presents practical optimizations such as module bundling, V8 code‑caching, and custom require handling to dramatically reduce startup latency.

Cold StartModule BundlingNode.js
0 likes · 15 min read
How to Slash Node.js Serverless Startup Time Below 100 ms
Node Underground
Node Underground
Aug 27, 2019 · Backend Development

Master Node.js Module System: Loading, Caching, and CommonJS Pitfalls

This article explains Node.js's CommonJS module system, covering how require loads modules, the role of module.exports versus exports, module classification, loading order, caching behavior, circular dependencies, and provides practical code examples for interview preparation.

CommonJSExportsNode.js
0 likes · 10 min read
Master Node.js Module System: Loading, Caching, and CommonJS Pitfalls
Didi Tech
Didi Tech
Aug 24, 2019 · Frontend Development

Webpack Loader Execution Process: Detailed Source Code Analysis

The article details Webpack’s loader execution pipeline, showing how a shared loaderContext is built for each module, how the loader‑runner pitches loaders in order, then processes the resource and runs each loader’s normal method from right to left, handling synchronous, Promise‑based, and async callbacks via runSyncOrAsync.

JavaScriptNode.jsasync
0 likes · 14 min read
Webpack Loader Execution Process: Detailed Source Code Analysis
Taobao Frontend Technology
Taobao Frontend Technology
Aug 20, 2019 · Fundamentals

Demystifying VSCode Debugging: How DAP Powers IDE Debuggers

This article explains VSCode's debugging architecture, introduces the Debug Adapter Protocol (DAP), and walks through a web‑based demo that implements a Node.js debug session using Monaco, WebSocket communication, and a custom debug adapter to illustrate the full debugging workflow.

DAPDebuggingIDE
0 likes · 9 min read
Demystifying VSCode Debugging: How DAP Powers IDE Debuggers
Node Underground
Node Underground
Aug 17, 2019 · Fundamentals

Node.js 10‑12 Tricks: Optional Catch, Trim, Symbol Description, Array Flat, JSON Fix

This article demonstrates several modern Node.js capabilities—including optional catch bindings without parameters, whitespace trimming methods, accessing Symbol description strings, flattening arrays with flat and flatMap, handling Unicode in JSON serialization, and converting entry lists to objects with Object.fromEntries—providing concise code examples for each feature.

ES2020Node.jsObject.fromEntries
0 likes · 5 min read
Node.js 10‑12 Tricks: Optional Catch, Trim, Symbol Description, Array Flat, JSON Fix
AntTech
AntTech
Aug 14, 2019 · Frontend Development

The Evolution of Frontend Development: From Monolithic Architecture to Serverless and BFF

This article traces the historical evolution of frontend development—from early monolithic web architectures through the rise of distributed systems and front‑end/back‑end separation, to modern serverless and Backend‑for‑Frontend (BFF) approaches—highlighting the shifting roles, challenges, and emerging solutions in the industry.

BFFNode.jsServerless
0 likes · 10 min read
The Evolution of Frontend Development: From Monolithic Architecture to Serverless and BFF
Node Underground
Node Underground
Aug 12, 2019 · Backend Development

Why Node.js? Origins, Architecture, and Ideal Use Cases Explained

This article introduces Node.js by covering its origins, core architecture, key features such as event‑driven non‑blocking I/O, and the scenarios where it excels, helping readers decide when and why to choose Node.js for backend development.

JavaScript runtimeNode.jsarchitecture
0 likes · 12 min read
Why Node.js? Origins, Architecture, and Ideal Use Cases Explained
Node Underground
Node Underground
Aug 11, 2019 · Backend Development

Mastering Node.js ES Modules: From CommonJS to Native Imports

This article explains how Node.js 12 introduced native ECMAScript Modules, compares them with CommonJS, shows how to enable the feature, configure package.json, and adapt code using import/export, import.meta, and other module‑specific changes.

CommonJSES ModulesModules
0 likes · 10 min read
Mastering Node.js ES Modules: From CommonJS to Native Imports
Node Underground
Node Underground
Aug 3, 2019 · Backend Development

How V8 Code Cache Supercharges Node.js Startup Times

This article explains the background, implementation, and practical usage of V8's code cache in browsers and Node.js, showing how serialized bytecode reduces JIT compilation overhead, speeds up startup, and benefits serverless functions.

Node.jsV8backend development
0 likes · 9 min read
How V8 Code Cache Supercharges Node.js Startup Times
Node Underground
Node Underground
Jul 28, 2019 · Backend Development

Exploring QUIC and HTTP/3: Build and Test a Node.js QUIC Server

This article explains what QUIC is, outlines HTTP/3’s advantages over HTTP/2, and provides step‑by‑step instructions with code samples for compiling Node.js’s QUIC implementation and running a simple QUIC server and client to observe protocol behavior.

HTTP/3Node.jsQUIC
0 likes · 8 min read
Exploring QUIC and HTTP/3: Build and Test a Node.js QUIC Server
Node Underground
Node Underground
Jul 27, 2019 · Backend Development

Mastering Node.js Buffer: From Basics to Performance Optimization

This comprehensive guide explores Node.js Buffer fundamentals, binary data handling, stream integration, memory allocation mechanisms, practical usage scenarios, and performance benchmarks, providing developers with the knowledge to efficiently manage binary streams and boost application speed.

BufferMemory ManagementNode.js
0 likes · 21 min read
Mastering Node.js Buffer: From Basics to Performance Optimization
Beike Product & Technology
Beike Product & Technology
Jul 26, 2019 · Frontend Development

Building a CLI Scaffolding Tool for React and Vue Projects

This article walks through the design and implementation of a Node‑based command‑line tool that generates React or Vue project scaffolds, covering initialization, script development, template downloading, local testing, npm publishing, and usage instructions.

CLINode.jsReAct
0 likes · 10 min read
Building a CLI Scaffolding Tool for React and Vue Projects
Node Underground
Node Underground
Jul 17, 2019 · Backend Development

10 Essential Node.js Interview Questions Every Developer Should Know

This article presents ten fundamental Node.js interview questions covering its definition, installation, core components, error‑first callbacks, HTTP server creation, event‑driven programming, NPM usage, and common application scenarios, each illustrated with clear explanations and code examples.

Interview QuestionsNode.js
0 likes · 13 min read
10 Essential Node.js Interview Questions Every Developer Should Know
Node Underground
Node Underground
Jul 10, 2019 · Backend Development

Mastering Processes and Threads in Node.js: From Basics to Multi‑Process Architecture

This comprehensive guide explains the fundamentals of processes and threads, demonstrates practical Node.js demos for single‑threaded and multi‑threaded scenarios, and walks through creating child processes, multi‑process architectures, and daemon services, providing clear code examples and performance insights for backend developers.

Node.jsbackenddaemon
0 likes · 19 min read
Mastering Processes and Threads in Node.js: From Basics to Multi‑Process Architecture
Node Underground
Node Underground
Jul 9, 2019 · Backend Development

Mastering Node.js Garbage Collection: Detect and Prevent Memory Leaks

This article explains how Node.js relies on the V8 engine for automatic memory management, details the garbage‑collection mechanisms (Scavenge, Mark‑Sweep, Mark‑Compact), shows practical code for monitoring and forcing GC, illustrates common memory‑leak patterns, and recommends tools for diagnosing and fixing leaks.

Garbage CollectionNode.jsV8
0 likes · 20 min read
Mastering Node.js Garbage Collection: Detect and Prevent Memory Leaks
System Architect Go
System Architect Go
Jul 5, 2019 · Backend Development

Key Monitoring Metrics for Node.js Applications and Open‑Source Tools

This article explains why monitoring is essential for Node.js applications, outlines the most important performance metrics such as CPU usage, memory usage, garbage collection, event‑loop latency, clustering, and request/response latency, and introduces several ready‑to‑use open‑source monitoring tools.

MonitoringNode.jsOpen-source
0 likes · 6 min read
Key Monitoring Metrics for Node.js Applications and Open‑Source Tools
360 Tech Engineering
360 Tech Engineering
Jul 3, 2019 · Information Security

File Upload Vulnerabilities and Mitigation Strategies

The article explains how attackers can exploit file upload functionality by uploading malicious files, crafted filenames, SVG payloads, or symlinks to achieve remote code execution, data theft, or server denial‑of‑service, and provides practical defense measures such as whitelist validation, content‑type checks, and upload rate limiting.

Node.jsSVGVulnerability
0 likes · 8 min read
File Upload Vulnerabilities and Mitigation Strategies
System Architect Go
System Architect Go
Jul 2, 2019 · Backend Development

Comparing Go and Node.js: Key Features for Node.js Developers

This article compares Go and Node.js from a Node.js developer’s viewpoint, highlighting Go’s static typing, compiled nature, enforced formatting, built‑in libraries, package management, and tooling, and provides resources for learning Go effectively.

Go modulesNode.jscompiled language
0 likes · 7 min read
Comparing Go and Node.js: Key Features for Node.js Developers
Beike Product & Technology
Beike Product & Technology
Jun 28, 2019 · Industry Insights

Beike’s Tech Secrets: Frontend Performance, Node Stability, Mobile Monitoring & Flutter

At the 2019 GMTC Beijing Global Front‑End Conference, Beike engineers shared practical approaches to extreme front‑end performance optimization, Node.js service stability, comprehensive mobile crash and network monitoring, and the challenges and solutions of integrating Flutter into their existing mobile apps.

FlutterFrontend PerformanceNode.js
0 likes · 15 min read
Beike’s Tech Secrets: Frontend Performance, Node Stability, Mobile Monitoring & Flutter
HomeTech
HomeTech
May 23, 2019 · Frontend Development

Building a Cross‑Platform S3 Upload GUI with Electron and Vue

This article explains how to create a cross‑platform desktop client for uploading local resources to S3‑backed CDN using Electron, Vue, and lowdb, covering UI design, project structure, main‑renderer process communication, persistent storage, command‑line integration, packaging, and update handling.

Cross‑PlatformDesktop applicationElectron
0 likes · 16 min read
Building a Cross‑Platform S3 Upload GUI with Electron and Vue
Liangxu Linux
Liangxu Linux
May 7, 2019 · Backend Development

Turn Git into a Chat App: Complete GIC Setup Guide

This tutorial explains how to transform Git into a chat tool using the open‑source GIC project, covering repository creation, installation of Node.js and GIC, configuration, launching the chat interface, viewing conversation logs via git log, and cleanly exiting the session.

Node.jschatgic
0 likes · 6 min read
Turn Git into a Chat App: Complete GIC Setup Guide
Node Underground
Node Underground
Apr 12, 2019 · Backend Development

How to Seamlessly Integrate TypeScript into Your Node.js Projects

This guide walks you through installing, configuring, and using TypeScript in a Node.js environment, covering compiler setup, IDE support, tsconfig options, type definition management, migration strategies, testing with Jest, and practical tips for a smooth transition from JavaScript to TypeScript.

Node.jsTSCTypeScript
0 likes · 15 min read
How to Seamlessly Integrate TypeScript into Your Node.js Projects
Youzan Coder
Youzan Coder
Apr 3, 2019 · Frontend Development

How Youzan Built a Robust Frontend Testing Framework: UI Automation, Coverage, and Alerts

This article details Youzan's comprehensive frontend quality assurance system, covering architecture overview, UI automation with Puppeteer and Mocha, Node interface testing using Istanbul, unit testing choices, library change alerts, Sentry error monitoring, business alarms, and standardized release processes to ensure reliable releases.

Frontend TestingNode.jsUI automation
0 likes · 15 min read
How Youzan Built a Robust Frontend Testing Framework: UI Automation, Coverage, and Alerts
System Architect Go
System Architect Go
Mar 22, 2019 · Frontend Development

End-to-End Testing with Puppeteer: Automating User Interactions Across Frontend and Backend

End‑to‑end testing treats the application as a black box, using Puppeteer to programmatically control a Chromium browser and simulate real user actions—such as navigating pages, typing, mouse movements, solving slide captchas, and uploading files—to verify the complete front‑end to back‑end workflow.

Frontend TestingNode.jsPuppeteer
0 likes · 4 min read
End-to-End Testing with Puppeteer: Automating User Interactions Across Frontend and Backend
转转QA
转转QA
Mar 20, 2019 · Operations

Real-time Monitoring of H5 Pages Using Headless Browser and Puppeteer

This article describes a real‑time monitoring solution for large numbers of H5 pages that combines Python's Requests library for data crawling with a headless Chrome browser driven by Puppeteer to detect resource errors, API failures, and DOM anomalies, automatically alerting stakeholders.

MonitoringNode.jsPuppeteer
0 likes · 8 min read
Real-time Monitoring of H5 Pages Using Headless Browser and Puppeteer
Tencent Cloud Developer
Tencent Cloud Developer
Mar 6, 2019 · Cloud Native

Building a Subscription Management Mini Program with Tencent Cloud Serverless Functions

The article shows how a single front‑end developer can create the “Moly Subscription Assistant” WeChat mini‑program in five days using Tencent Cloud serverless development, covering OpenID authentication, cloud‑function CRUD for subscriptions, scheduled currency‑rate updates, and a fully managed backend without any traditional servers.

Cloud FunctionsCurrency ExchangeDatabase
0 likes · 10 min read
Building a Subscription Management Mini Program with Tencent Cloud Serverless Functions
Qunar Tech Salon
Qunar Tech Salon
Feb 15, 2019 · Backend Development

Introduction to Nomi.js: A Node.js Micro Framework for Backend Development

This article introduces Nomi.js, a lightweight Node.js micro‑framework built on Koa2, explains its design goals and pain‑points it solves, outlines its key features, and provides step‑by‑step instructions with code examples for installing the CLI, initializing a project, and creating MVC‑style controllers and services.

JavaScriptMVCMicroframework
0 likes · 7 min read
Introduction to Nomi.js: A Node.js Micro Framework for Backend Development
21CTO
21CTO
Feb 6, 2019 · Backend Development

Why Choose the MEAN Stack for Your Next Web Project?

This article explains the MEAN stack—MongoDB, Express.js, AngularJS, and Node.js—detailing each component, comparing it with LAMP/LNMP, and highlighting its JavaScript‑centric, cost‑effective, open‑source advantages for modern web development.

AngularJSExpress.jsJavaScript
0 likes · 7 min read
Why Choose the MEAN Stack for Your Next Web Project?
UC Tech Team
UC Tech Team
Jan 21, 2019 · Frontend Development

New ES2018 Features Every JavaScript Developer Should Know

The article introduces the major ES2018 additions—including rest/spread properties, asynchronous iteration, Promise.prototype.finally, and four RegExp enhancements—explains their syntax and usage with examples, and lists Node.js versions that support each feature, helping developers adopt the latest JavaScript capabilities.

ES2018JavaScriptNode.js
0 likes · 13 min read
New ES2018 Features Every JavaScript Developer Should Know
Node Underground
Node Underground
Jan 2, 2019 · Backend Development

19 Must‑Learn Skills for Node.js Developers in 2019

In this article, independent Node.js consultant Yoni Goldberg outlines 19 essential skills and topics—from TypeScript and async‑hooks to Kubernetes, blockchain, and machine learning—that developers should explore in 2019 to boost their expertise and stay ahead in the evolving backend ecosystem.

DevOpsKubernetesMachine Learning
0 likes · 3 min read
19 Must‑Learn Skills for Node.js Developers in 2019
UC Tech Team
UC Tech Team
Dec 25, 2018 · Backend Development

19 Ways to Become a Better Node.js Developer in 2019

The article presents 19 practical recommendations for Node.js developers in 2019, covering type systems, linters, architecture, async hooks, serverless, emerging JavaScript features, API design, testing strategies, security, package management, deployment, Kubernetes, blockchain, machine learning, open‑source exploration, Linux internals, and scientific learning methods.

JavaScriptNode.jsServerless
0 likes · 18 min read
19 Ways to Become a Better Node.js Developer in 2019
Bitu Technology
Bitu Technology
Dec 18, 2018 · Backend Development

Managing Request Context in Node.js with async_hooks without Monkey Patching

This article explains how to propagate request‑level context in a Node.js HTTP service by building a call‑tree with async_hooks, avoiding monkey‑patching, handling lifecycle quirks, preventing memory leaks, and using reference‑counted cleanup to ensure reliable context queries.

Context propagationMiddlewareNode.js
0 likes · 15 min read
Managing Request Context in Node.js with async_hooks without Monkey Patching
JavaScript
JavaScript
Dec 14, 2018 · Backend Development

How to Process Chinese Input in Node.js: Trim, Replace, and Output

This guide demonstrates how to configure Node.js stdin for UTF-8, read incoming Chinese text, remove question particles and punctuation, replace question marks with exclamation marks, and output the transformed strings, with clear code examples and expected results.

Chinese text processingJavaScriptNode.js
0 likes · 1 min read
How to Process Chinese Input in Node.js: Trim, Replace, and Output
Java Captain
Java Captain
Dec 9, 2018 · Backend Development

Using raml-mocker to Create Mock Servers for Front‑Back End Integration

The article discusses the pain points of front‑back end separation such as frequent API changes, outdated documentation, and late testing, and presents a solution based on contract‑driven development with raml-mocker, a Node.js tool that generates mock servers and API documentation to improve collaboration and testing efficiency.

API ContractNode.jsbackend development
0 likes · 6 min read
Using raml-mocker to Create Mock Servers for Front‑Back End Integration
Node Underground
Node Underground
Nov 29, 2018 · Backend Development

Boost Node.js Performance: 8 Proven Techniques for Faster Apps

This article presents eight practical strategies—including upgrading Node.js, leveraging fast-json-stringify, optimizing promises, tuning V8 GC, using streams correctly, and employing node‑clinic tools—to dramatically improve the performance and scalability of Node.js applications.

Node.jsOptimizationPerformance
0 likes · 21 min read
Boost Node.js Performance: 8 Proven Techniques for Faster Apps
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Nov 26, 2018 · Backend Development

Build Your Own Koa Framework from Scratch: A Step‑by‑Step Guide

This article walks you through creating a lightweight Koa 2 framework by explaining its core modules—application, request, response, and context—showing how to implement the HTTP server wrapper, the onion‑style middleware composition, and robust error handling with code examples for each step.

JavaScriptKoaMiddleware
0 likes · 18 min read
Build Your Own Koa Framework from Scratch: A Step‑by‑Step Guide
Node Underground
Node Underground
Nov 23, 2018 · Backend Development

What’s New in Node.js 10 LTS? Key Features, Deprecations, and Experimental APIs

Node.js 10 LTS introduces major updates such as native HTTP/2 support, BigInt, recursive directory creation, CLI flag auto‑completion, Windows installer improvements, V8‑based code coverage, deprecated Buffer constructors, and experimental Worker Threads, while also upgrading OpenSSL and adding PEM‑level encryption.

BIGINTHTTP/2LTS
0 likes · 11 min read
What’s New in Node.js 10 LTS? Key Features, Deprecations, and Experimental APIs
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Nov 15, 2018 · Backend Development

How to Build Your Own Command-Line Tool with Node.js

This guide explains what a command-line interface (CLI) tool is, why developers prefer CLI over GUI for efficiency, and provides a step‑by‑step tutorial for creating a simple Node.js‑based CLI, covering project setup, command registration, argument parsing, version handling, interactive prompts, shell script execution, and network proxy management.

CLICommanderNode.js
0 likes · 10 min read
How to Build Your Own Command-Line Tool with Node.js
Tencent Cloud Developer
Tencent Cloud Developer
Nov 7, 2018 · Mobile Development

Deploying a WeChat Mini Program Photo Album Demo with Tencent Cloud COS

This tutorial walks developers through registering a WeChat Mini Program, setting up the Small Photo Album demo, configuring HTTPS domains and SSL, deploying a Node.js backend with Nginx, integrating Tencent Cloud COS for image storage, and testing the complete end‑to‑end photo‑album application.

Node.jsTencent Cloud COSWeChat mini program
0 likes · 18 min read
Deploying a WeChat Mini Program Photo Album Demo with Tencent Cloud COS
21CTO
21CTO
Nov 6, 2018 · Frontend Development

Speed Up Electron Development with Electron Fiddle: A Quick Start Guide

This article introduces Electron Fiddle, explains how to install and run it, and demonstrates its key features such as template creation, code sharing via GitHub Gist, Monaco editor integration, and packaging apps for Windows, macOS, and Linux.

Desktop DevelopmentElectronFiddle
0 likes · 3 min read
Speed Up Electron Development with Electron Fiddle: A Quick Start Guide
UC Tech Team
UC Tech Team
Sep 30, 2018 · Backend Development

Rethinking JavaScript Test Coverage with V8 and Node.js

The article explains how Node.js now supports native V8 code‑coverage via the NODE_V8_COVERAGE environment variable, describes the limitations of traditional tools like Istanbul, outlines the benefits and challenges of using V8’s built‑in coverage, and provides practical steps and tools (c8, v8-to-istanbul) to generate readable coverage reports.

JavaScriptNode.jsV8
0 likes · 8 min read
Rethinking JavaScript Test Coverage with V8 and Node.js
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Sep 30, 2018 · Fundamentals

Why Does setTimeout Run After Promise.then? Unraveling JavaScript’s Event Loop

This article explains how JavaScript’s single‑threaded model achieves asynchronous behavior through macro‑tasks and micro‑tasks, compares the browser and Node.js event‑loop implementations, and demonstrates the timing differences between setTimeout, setImmediate, and process.nextTick with practical code examples.

BrowserJavaScriptNode.js
0 likes · 9 min read
Why Does setTimeout Run After Promise.then? Unraveling JavaScript’s Event Loop
UC Tech Team
UC Tech Team
Sep 25, 2018 · Frontend Development

Understanding JavaScript Event Loop: Theory and Practice

This article explains the JavaScript Event Loop mechanism in depth, covering the call stack, heap memory, macro‑ and micro‑tasks, and their queues, and demonstrates the execution order through detailed examples and step‑by‑step visualizations of multiple event‑loop cycles.

JavaScriptNode.jsasync
0 likes · 7 min read
Understanding JavaScript Event Loop: Theory and Practice
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Sep 25, 2018 · Frontend Development

How Does Electron‑Builder Turn Your Web App into a Standalone Executable?

This article explains step‑by‑step how to package an Electron application using electron‑builder and electron‑packager, analyzes the resulting file sizes and project structure, and dives into the core source code of electron‑builder to reveal how the packaging process creates the final executable and asar archives.

ElectronNode.jsPackaging
0 likes · 15 min read
How Does Electron‑Builder Turn Your Web App into a Standalone Executable?
UC Tech Team
UC Tech Team
Sep 20, 2018 · Fundamentals

A Decade of V8: Milestones, Performance Evolution, and Future Outlook

This article chronicles the ten‑year history of Google’s V8 JavaScript engine—from its secretive beginnings and open‑source launch to major performance improvements, benchmark trends, security challenges, and its expanding role in browsers, Node.js, and WebAssembly—highlighting key milestones and future directions.

ChromeEngine EvolutionJavaScript engine
0 likes · 13 min read
A Decade of V8: Milestones, Performance Evolution, and Future Outlook
Ctrip Technology
Ctrip Technology
Sep 19, 2018 · Frontend Development

Understanding the Big Front‑End: Definition, Benefits, and Implementation Strategies

The article explains the concept of the big front‑end, distinguishes its horizontal UI and vertical server dimensions, outlines why it reduces communication and development costs, and details practical technology selection, architecture design, and the measurable benefits of shared components and server‑side rendering.

Big Front-EndNode.jsReAct
0 likes · 8 min read
Understanding the Big Front‑End: Definition, Benefits, and Implementation Strategies
Qunar Tech Salon
Qunar Tech Salon
Sep 4, 2018 · Backend Development

Comprehensive Overview of NestJS Architecture and Core Components

This article provides a detailed introduction to NestJS, a progressive Node.js framework, covering its modular design, core building blocks such as controllers, providers, and modules, and demonstrating how to implement middleware, pipes, guards, interceptors, and exception filters with practical TypeScript code examples and project structure recommendations.

NestJSNode.jsTypeScript
0 likes · 12 min read
Comprehensive Overview of NestJS Architecture and Core Components
JD Tech
JD Tech
Aug 29, 2018 · Operations

ImageMagick Command‑Line Guide: Installation, Basic Commands, Formats and Practical Examples

This tutorial explains how to install ImageMagick, use its core command‑line tools such as magick, convert, identify, mogrify and composite, format image resize commands, add watermarks, generate captchas, clone and append images, convert between GIF, PDF and other formats, and integrate the tool with Node.js scripts.

Command LineGraphicsImageMagick
0 likes · 19 min read
ImageMagick Command‑Line Guide: Installation, Basic Commands, Formats and Practical Examples
MaoDou Frontend Team
MaoDou Frontend Team
Aug 21, 2018 · Backend Development

Why GraphQL Is Revolutionizing API Design: From Problems to Practice

GraphQL, created by Facebook in 2012 and open‑sourced in 2015, offers a flexible, efficient alternative to REST by allowing clients to request exactly the data they need, reducing redundancy, cutting request counts, and simplifying API evolution, with practical Node server and Apollo client implementations illustrated.

API designApolloGraphQL
0 likes · 5 min read
Why GraphQL Is Revolutionizing API Design: From Problems to Practice
Python Programming Learning Circle
Python Programming Learning Circle
Aug 17, 2018 · Frontend Development

Which JavaScript Projects Dominated 2017? A Deep Dive into the Top Stars

Analyzing GitHub star growth over the past year, this article ranks the most popular JavaScript projects of 2017—highlighting Vue.js’s continued dominance, React’s strong showing, emerging tools like Puppeteer, and trends across frameworks, build tools, testing suites, and the rise of static site generators.

Build ToolsNode.jsStatic Site Generators
0 likes · 19 min read
Which JavaScript Projects Dominated 2017? A Deep Dive into the Top Stars
Node Underground
Node Underground
Aug 14, 2018 · Backend Development

Enterprise‑Grade Node.js: Insights from Chengdu’s Underground Rail Salon

A recap of Chengdu’s Node.js underground rail salon reveals how industry experts tackled enterprise‑grade challenges such as microservice architecture, security of third‑party dependencies, TypeScript adoption, RPC communication, and stream best practices, followed by an engaging round‑table discussion.

Enterprise DevelopmentNode.jsRPC
0 likes · 4 min read
Enterprise‑Grade Node.js: Insights from Chengdu’s Underground Rail Salon
Didi Tech
Didi Tech
Aug 3, 2018 · Backend Development

Introduction to Koa2: Features, History, and Basic Usage

Koa2 is a lightweight, async‑await‑based Node.js web framework that evolved from Express to eliminate callback hell, offering an elegant onion‑style middleware system, unified ctx object, and extensibility through routers, static serving, SSR, and database integrations, making it ideal for modern web services.

Async/AwaitKoa2Middleware
0 likes · 9 min read
Introduction to Koa2: Features, History, and Basic Usage
Java Backend Technology
Java Backend Technology
Aug 3, 2018 · Frontend Development

Why Frontend‑Backend Separation Matters: From JSP to Modern Node.js

This article walks through the evolution of front‑end architecture—from tightly coupled JSP/Servlet setups, through semi‑separated Ajax‑driven pages, to fully separated front‑end/back‑end designs with Node.js—highlighting their advantages, drawbacks, and practical lessons for developers.

JSPNode.jsWeb Development
0 likes · 13 min read
Why Frontend‑Backend Separation Matters: From JSP to Modern Node.js
21CTO
21CTO
Jul 11, 2018 · Backend Development

Understanding Data Streams: From Node.js to Java, Kafka, and Kinesis

This article explains what data streams are, how they differ from arrays, the types of streams in Node.js, demonstrates Java Stream operations, and introduces popular streaming platforms like Apache Kafka and Amazon Kinesis, highlighting their core features and real‑time processing capabilities.

Amazon KinesisApache KafkaJava Streams
0 likes · 7 min read
Understanding Data Streams: From Node.js to Java, Kafka, and Kinesis
Java Architect Essentials
Java Architect Essentials
Jun 28, 2018 · Frontend Development

Should Small Teams Adopt Front‑End Separation? Lessons from MVC to Node.js

From legacy JSP‑based MVC to semi‑separated Ajax‑driven pages and finally fully separated front‑end architectures using Node.js, this article examines each stage’s structure, advantages, and drawbacks, arguing that small‑to‑mid‑size companies must weigh resource constraints, performance, and maintenance before fully embracing front‑end separation.

AJAXMVCNode.js
0 likes · 12 min read
Should Small Teams Adopt Front‑End Separation? Lessons from MVC to Node.js
Java Architect Essentials
Java Architect Essentials
Jun 21, 2018 · Frontend Development

Setting Up a React Development Environment on macOS

This guide walks through installing Node.js, configuring npm with a Chinese mirror, and using create‑react‑app to quickly create and run a React project on macOS, including all necessary command‑line steps and code snippets.

Node.jsReActcreate-react-app
0 likes · 6 min read
Setting Up a React Development Environment on macOS
ITPUB
ITPUB
Jun 16, 2018 · Frontend Development

From JSP MVC to Full Front‑Back Separation: When Is It Worth It?

The article walks through the evolution of front‑end development from traditional JSP/Servlet MVC through semi‑separated Ajax‑driven pages to fully separated front‑back architectures, highlighting each stage’s structure, advantages, drawbacks, and the practical considerations that make full separation risky for small‑to‑medium projects.

AJAXMVCNode.js
0 likes · 12 min read
From JSP MVC to Full Front‑Back Separation: When Is It Worth It?
Node Underground
Node Underground
Jun 14, 2018 · Backend Development

Why Deno Was Created: Ryan Dahl’s Fixes to Node.js Mistakes

Deno, the open‑source, V8‑based TypeScript runtime launched by Node.js creator Ryan Dahl, aims to correct the design errors he perceives in Node.js by offering a simple module system, built‑in TypeScript parsing, runtime safety, and Go‑based glue, making it a promising, though not definitive, successor.

DenoNode.jsTypeScript
0 likes · 2 min read
Why Deno Was Created: Ryan Dahl’s Fixes to Node.js Mistakes
21CTO
21CTO
May 20, 2018 · Backend Development

Why Design Patterns Still Matter: Middleware, MVC & DI

Exploring the limits and practical value of software design patterns, this article examines philosophical critiques of scientific induction, then delves into three core web architecture patterns—Middleware, MVC, and Dependency Injection—illustrating their implementation in Node.js and Java, and highlighting how they improve code modularity, communication, and scalability.

MVCNode.jsdependency injection
0 likes · 13 min read
Why Design Patterns Still Matter: Middleware, MVC & DI
21CTO
21CTO
May 20, 2018 · Backend Development

Why the MEAN Stack Could Beat LAMP for Your Next Project

The article compares the MEAN (MongoDB, Express, Angular, Node.js) and LAMP stacks, highlighting MEAN's flexibility, simplicity, and performance advantages while acknowledging LAMP's reliability, and lists nine reasons to consider MEAN for new projects.

AngularLAMPMongoDB
0 likes · 12 min read
Why the MEAN Stack Could Beat LAMP for Your Next Project