Tagged articles

JavaScript

2446 articles · Page 20 of 25
Qunar Tech Salon
Qunar Tech Salon
Aug 8, 2019 · Frontend Development

Understanding Design Patterns in JavaScript

This article explains why and how to use various JavaScript design patterns—such as module, revealing module, ES6 modules, singleton, factory, and decorator—by describing their purpose, benefits, and providing clear code examples while warning against over‑use.

DecoratorDesign PatternsFactory
0 likes · 14 min read
Understanding Design Patterns in JavaScript
Sohu Tech Products
Sohu Tech Products
Aug 7, 2019 · Frontend Development

Understanding JavaScript Promises: Concepts, API, and Practical Examples

This article explains JavaScript Promises, covering their purpose in avoiding callback hell, the core API (constructor, then, catch, static methods), practical code examples, chaining behavior, comparison with callbacks and async/await, and even a custom implementation, providing a comprehensive guide for frontend developers.

CallbackJavaScriptPromise
0 likes · 25 min read
Understanding JavaScript Promises: Concepts, API, and Practical Examples
21CTO
21CTO
Aug 4, 2019 · Frontend Development

What’s New in Electron 6.0? Exploring the Latest Promise Features and API Updates

Electron 6.0, the newest stable release, brings Chromium 76, Node.js 12.4, V8 7.6, enhanced Promise support, async dialog APIs, new shell.showItemInFolder, and numerous API improvements such as excludedFromShownWindowsMenu, all_frames support, Linux preview, Touch ID, and more, all installable via npm.

APIElectronJavaScript
0 likes · 4 min read
What’s New in Electron 6.0? Exploring the Latest Promise Features and API Updates
Didi Tech
Didi Tech
Aug 2, 2019 · Frontend Development

Understanding Webpack's Resolve Process for Modules and Loaders

Webpack resolves every import by mapping the request string to an exact file path through a configurable chain of resolver plugins for normal modules, node_modules packages, and loaders, and developers can speed up builds by using aliases, limiting module directories, and keeping extensions short.

Build ToolJavaScriptOptimization
0 likes · 20 min read
Understanding Webpack's Resolve Process for Modules and Loaders
Meituan Technology Team
Meituan Technology Team
Aug 1, 2019 · Frontend Development

Scalable ESLint-Based JavaScript Code Standardization for Large Front‑end Teams

The article presents a scalable ESLint‑based framework for large front‑end teams that combines a layered, unified rule configuration, CI/CD and pre‑commit lint checks, a one‑click onboarding CLI, and automated metrics collection with dashboards, enabling consistent code standards across diverse projects while reducing maintenance overhead.

AutomationESLintFront-end
0 likes · 20 min read
Scalable ESLint-Based JavaScript Code Standardization for Large Front‑end Teams
AutoHome Frontend
AutoHome Frontend
Aug 1, 2019 · Frontend Development

8 Hidden DOM Features You Didn’t Know Exist (And How to Use Them)

This article reveals eight lesser‑known DOM and Web API features—such as addEventListener options, smooth scrollTo, optional timer arguments, defaultChecked, normalize/wholeText, insertAdjacent methods, event.detail, and scrollHeight/scrollWidth—explaining their purpose, browser support, and providing practical code examples.

DOMJavaScriptWeb API
0 likes · 17 min read
8 Hidden DOM Features You Didn’t Know Exist (And How to Use Them)
Seewo Tech Circle
Seewo Tech Circle
Jul 30, 2019 · Frontend Development

Create Smooth Parabolic Drop Animations with Dynamic Blur in JavaScript

This article explains how to calculate object positions using a parabolic formula, generate multiple translucent shadows to simulate motion blur, and implement the entire effect with JavaScript, covering parameter selection, acceleration calculations, and practical code examples for smooth front‑end animations.

AnimationFrontendJavaScript
0 likes · 11 min read
Create Smooth Parabolic Drop Animations with Dynamic Blur in JavaScript
Didi Tech
Didi Tech
Jul 13, 2019 · Frontend Development

Unlocking Webpack’s Tapable: How Hooks Power Efficient Builds

This article explains the inner workings of Tapable—the hook library behind Webpack—by detailing its synchronous and asynchronous hook types, registration and invocation methods, the lazy‑compilation code‑generation process, and how these mechanisms give Webpack a performance edge over naïve event loops.

Build ToolsHooksJavaScript
0 likes · 17 min read
Unlocking Webpack’s Tapable: How Hooks Power Efficient Builds
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jul 12, 2019 · Fundamentals

Understanding Google V8 Engine Promise Implementation and the JavaScript Event Loop

This article explains the evolution of Google V8's Promise implementation, details the JavaScript single‑threaded event loop with macro‑ and micro‑tasks, describes various programming models, and walks through the internal V8 code that realizes Promise construction, chaining, and utility methods such as Promise.all and Promise.race.

JavaScriptPromiseV8
0 likes · 10 min read
Understanding Google V8 Engine Promise Implementation and the JavaScript Event Loop
Weidian Tech Team
Weidian Tech Team
Jul 12, 2019 · Fundamentals

Why JavaScript Float Addition Is Inaccurate: Inside V8’s Machine Code

This article explains how the V8 JavaScript engine generates machine code for floating‑point addition on Intel x64, covering V8’s architecture, the IEEE‑754 representation that causes precision loss, and a step‑by‑step analysis of the relevant C++ source and the resulting addsd instruction.

JavaScriptMachine CodeV8
0 likes · 12 min read
Why JavaScript Float Addition Is Inaccurate: Inside V8’s Machine Code
360 Tech Engineering
360 Tech Engineering
Jul 10, 2019 · Frontend Development

The Past, Present, and Future of Front‑End Development Programming Languages

This article reviews the evolution of front‑end programming languages, discusses why extreme attitudes toward language choice hinder productive discussion, explains how platform constraints shape language selection, examines the strengths and weaknesses of JavaScript, Java, and Objective‑C, and predicts increasing convergence and cross‑platform trends among modern front‑end languages.

FrontendJavaScriptKotlin
0 likes · 33 min read
The Past, Present, and Future of Front‑End Development Programming Languages
Didi Tech
Didi Tech
Jul 5, 2019 · Frontend Development

Deep Dive into Webpack: Source Code Analysis and Compilation Process

The article dissects Webpack’s internals, showing how every asset becomes a module processed by loaders, how the bootstrap creates a __webpack_require__ function to link modules, how dynamic import() generates separate chunks loaded via script tags, and outlines the full compilation pipeline from configuration parsing to final asset emission.

JavaScriptModule Bundlingasync loading
0 likes · 12 min read
Deep Dive into Webpack: Source Code Analysis and Compilation Process
Wukong Talks Architecture
Wukong Talks Architecture
Jul 5, 2019 · Game Development

Step-by-Step Guide to Building a Simple WeChat Mini‑Game

This article walks through the background, monetization considerations, and detailed implementation steps—including canvas creation, enemy and player sprites, movement, collision detection, and touch handling—required to develop a basic WeChat mini‑game, with full code snippets and resource links.

Game DevelopmentJavaScriptMiniGame
0 likes · 6 min read
Step-by-Step Guide to Building a Simple WeChat Mini‑Game
21CTO
21CTO
Jul 4, 2019 · Mobile Development

How JavaScript Powers a High‑Performance Dynamic Flutter Framework

This article introduces MXFlutter, a JavaScript‑based dynamic framework that enables full‑runtime UI updates for Flutter apps on iOS, explains its architecture, code implementation, performance advantages over Dart VM, and discusses rendering optimizations, memory management, threading, and developer ergonomics.

FlutterJavaScriptMobile Development
0 likes · 13 min read
How JavaScript Powers a High‑Performance Dynamic Flutter Framework
vivo Internet Technology
vivo Internet Technology
Jul 3, 2019 · Frontend Development

Common Front-End Error Types and Their Capture Methods

Front‑end monitoring must capture JavaScript runtime errors, resource loading failures, unhandled promise rejections, and asynchronous request issues using window.onerror, error event listeners, unhandledrejection handlers, and fetch/XHR wrappers, while also handling framework‑specific hooks and cross‑origin script restrictions through CORS or manual try‑catch reporting.

FrontendJavaScriptWeb Performance
0 likes · 11 min read
Common Front-End Error Types and Their Capture Methods
MaoDou Frontend Team
MaoDou Frontend Team
Jul 2, 2019 · Frontend Development

Mastering JavaScript Promises: Event Loop, Tasks, and Advanced Patterns

This article explains JavaScript’s event mechanism, distinguishes macro‑ and micro‑tasks, and provides a comprehensive guide to using Promises—including their states, API methods like then, catch, finally, and utilities such as all, race, with practical code examples and common pitfalls.

JavaScriptPromiseasync
0 likes · 12 min read
Mastering JavaScript Promises: Event Loop, Tasks, and Advanced Patterns
MaoDou Frontend Team
MaoDou Frontend Team
Jul 1, 2019 · Fundamentals

Mastering the Template Method Pattern with Real-World Soup Recipes in JavaScript

This article explains the Template Method design pattern, illustrates it with real-world soup recipes, provides JavaScript code simulations for both abstract and concrete classes, compares the processes, and discusses abstract class limitations in JavaScript, offering a clear guide to implementing the pattern.

JavaScriptObject-Oriented ProgrammingTemplate Method
0 likes · 11 min read
Mastering the Template Method Pattern with Real-World Soup Recipes in JavaScript
AutoHome Frontend
AutoHome Frontend
Jun 24, 2019 · Frontend Development

Unlock the Power of JavaScript’s reduce: 5 Creative Uses Beyond Simple Summing

This tutorial explores why the .reduce() method feels intimidating, demonstrates its basic usage with addition and multiplication, and then showcases five unconventional applications—including converting arrays to objects, flattening nested arrays, performing dual calculations in a single pass, merging map and filter, and sequencing asynchronous calls—while providing clear code examples and performance considerations.

Functional ProgrammingJavaScriptWeb Development
0 likes · 14 min read
Unlock the Power of JavaScript’s reduce: 5 Creative Uses Beyond Simple Summing
Didi Tech
Didi Tech
Jun 22, 2019 · Mobile Development

Mpx 2.0: An Enhanced Mini‑Program Framework for Cross‑Platform Development

Mpx 2.0 is an enhanced mini‑program framework that provides full cross‑platform support for WeChat, Alipay, Baidu, Toutiao and QQ, enabling developers to compile existing WeChat projects and native components to other platforms while offering sub‑package optimization, conditional compilation, setData efficiency and near‑zero migration effort.

CrossPlatformJavaScriptMiniProgram
0 likes · 16 min read
Mpx 2.0: An Enhanced Mini‑Program Framework for Cross‑Platform Development
MaoDou Frontend Team
MaoDou Frontend Team
Jun 18, 2019 · Frontend Development

How a Joke Sorting Algorithm Reveals JavaScript’s Event Loop Mechanics

Discover how a playful setTimeout‑based sorting trick leverages JavaScript’s event loop to produce correct ordering, while explaining the core concepts of synchronous vs asynchronous tasks, the execution stack, task queue, and why this method isn’t practical for large datasets.

JavaScriptSorting Algorithmasynchronous
0 likes · 6 min read
How a Joke Sorting Algorithm Reveals JavaScript’s Event Loop Mechanics
MaoDou Frontend Team
MaoDou Frontend Team
Jun 17, 2019 · Frontend Development

Mastering JavaScript Function Parameters: Defaults, Rest, and TDZ Explained

This article explores JavaScript functions as first‑class citizens, detailing how to set default parameter values in ES5 and ES6, the impact on the arguments object, the temporary dead zone for defaults, and the usage and constraints of rest parameters with practical code examples.

Default ValuesFunction ParametersJavaScript
0 likes · 6 min read
Mastering JavaScript Function Parameters: Defaults, Rest, and TDZ Explained
Node Underground
Node Underground
Jun 14, 2019 · Fundamentals

Unlock JavaScript Performance: When and How to Use Bitwise Operators Effectively

This article explains why JavaScript developers often avoid bitwise operators, highlights the specific scenarios where they provide performance and code‑size benefits—such as fast integer conversion with x|0, using ~ for -1 checks, creating bit fields, and leveraging them in databases and BigInt.

JavaScriptPerformancebitwise-operators
0 likes · 7 min read
Unlock JavaScript Performance: When and How to Use Bitwise Operators Effectively
MaoDou Frontend Team
MaoDou Frontend Team
Jun 6, 2019 · Frontend Development

Safari Can’t Parse ‘2018‑12‑10 11:11:11’: Why and How to Fix It

This article explains why Safari on iOS throws “Invalid Date” for date strings like “2018‑12‑10 11:11:11”, demonstrates the incompatibility with Chrome, and provides a simple regex‑based solution to convert the format so the date parses correctly across browsers.

Date ParsingJavaScriptMobile Development
0 likes · 3 min read
Safari Can’t Parse ‘2018‑12‑10 11:11:11’: Why and How to Fix It
AutoHome Frontend
AutoHome Frontend
Jun 3, 2019 · Frontend Development

Boost JavaScript Type Safety in VS Code with JSDoc Annotations

Learn how to enable static type checking for JavaScript in Visual Studio Code using JSDoc comments, covering configuration, type definitions, generics, type casting, and runtime safeguards to improve code reliability without a separate build step.

JSDocJavaScriptStatic Type Checking
0 likes · 20 min read
Boost JavaScript Type Safety in VS Code with JSDoc Annotations
21CTO
21CTO
May 22, 2019 · Fundamentals

Which Programming Language Should You Learn Next? A Practical Guide

This article reviews the top ten programming languages, explains why learning multiple languages matters, and offers practical advice on choosing the most beneficial language for your career, covering Java, JavaScript, Python, Kotlin, Go, C#, Swift, Rust, PHP, and C/C++.

JavaJavaScriptLearning Guide
0 likes · 8 min read
Which Programming Language Should You Learn Next? A Practical Guide
Baidu App Technology
Baidu App Technology
May 22, 2019 · Frontend Development

San Framework Performance Evolution: A MVVM Framework's Optimization Journey

The article chronicles San, Baidu’s MVVM framework, detailing how template parsing, hotspot pre‑heating, cloneNode element creation, property‑handler caching, traversal interruption, list‑rendering shortcuts like trackBy, and numerous micro‑optimizations such as avoiding call/apply and extra loops collectively boost view creation and update performance.

BaiduJavaScriptMVVM framework
0 likes · 26 min read
San Framework Performance Evolution: A MVVM Framework's Optimization Journey
MaoDou Frontend Team
MaoDou Frontend Team
May 20, 2019 · Frontend Development

Mastering React Hooks: Practical Guide, Patterns, and Performance Tips

This article explains React Hooks introduced in version 16.8, their backward‑compatible design, how they replace class components, and provides detailed guidance on using useState, useEffect, custom hooks, useReducer, useRef, useMemo, useCallback, and related linting rules with performance‑focused examples.

HooksJavaScriptReAct
0 likes · 16 min read
Mastering React Hooks: Practical Guide, Patterns, and Performance Tips
360 Tech Engineering
360 Tech Engineering
May 14, 2019 · Frontend Development

What’s New in JavaScript: V8 Performance Boosts and New Language Features

The article summarizes the latest JavaScript enhancements presented by the V8 team at Google I/O, covering massive async performance gains, new engine components like TurboFan and Orinoco, and a suite of language features such as class fields, private members, numeric separators, bigint, extended Intl APIs, top‑level await, Promise.allSettled/any, and WeakRef, illustrated with practical code examples.

JavaScriptPerformancePromise
0 likes · 12 min read
What’s New in JavaScript: V8 Performance Boosts and New Language Features
21CTO
21CTO
May 2, 2019 · Fundamentals

RedMonk Q1 2019 Rankings: Which Programming Languages Really Lead the Pack?

RedMonk's Q1 2019 language ranking, based on GitHub and Stack Overflow data, reveals JavaScript topping the list, modest shifts among the top 20, and highlights notable moves such as TypeScript's rise and Kotlin's surge into the top‑20.

JavaScriptKotlinProgramming Languages
0 likes · 5 min read
RedMonk Q1 2019 Rankings: Which Programming Languages Really Lead the Pack?
Tencent Cloud Developer
Tencent Cloud Developer
Apr 30, 2019 · Cloud Computing

WeChat Mini Program Cloud Development: Electronic Business Card Creation, Sharing, and Access Notification

This guide walks through building an electronic business card in a WeChat Mini Program with Cloud Development, covering account setup, data CRUD, single‑ and multi‑image upload, AI‑powered OCR, custom QR‑code generation for sharing, and automated template‑message alerts when the card is viewed, demonstrating reduced backend effort.

AI RecognitionElectronic Business CardJavaScript
0 likes · 8 min read
WeChat Mini Program Cloud Development: Electronic Business Card Creation, Sharing, and Access Notification
21CTO
21CTO
Apr 29, 2019 · Frontend Development

Which JavaScript Chart Library Is Right for Your Project? Top 10 High‑Performance Picks

This article reviews ten high‑performance JavaScript chart libraries—amCharts, AnyChart, Chart.js, Chartist.js, D3.js, FusionCharts, Google Charts, Highcharts, Plotly.js, and ZingChart—detailing their main features, pricing models, and where to find documentation, helping developers choose the best tool for their data‑visualisation needs.

Data VisualizationFrontendJavaScript
0 likes · 18 min read
Which JavaScript Chart Library Is Right for Your Project? Top 10 High‑Performance Picks
MaoDou Frontend Team
MaoDou Frontend Team
Apr 28, 2019 · Frontend Development

How JavaScript ASTs Power Babel, UglifyJS, and Code Transformations

This article explains what an Abstract Syntax Tree (AST) is, its role in JavaScript tooling such as Babel, UglifyJS, and type checking, details the lexical and syntactic analysis stages of AST generation, and demonstrates a practical Babel plugin example that modifies console output using visitors.

ASTBabelJavaScript
0 likes · 6 min read
How JavaScript ASTs Power Babel, UglifyJS, and Code Transformations
Wukong Talks Architecture
Wukong Talks Architecture
Apr 27, 2019 · Frontend Development

Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages

This article explains the fundamentals of AJAX, including its definition, the need for asynchronous communication, how form submissions work, the XMLHttpRequest object methods and properties, jQuery implementations, advantages, disadvantages, and typical application and non‑application scenarios, with complete code examples.

AJAXJavaScriptWeb Development
0 likes · 15 min read
Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages
Wukong Talks Architecture
Wukong Talks Architecture
Apr 25, 2019 · Frontend Development

Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages

This article explains the concept of AJAX, why asynchronous communication is needed, how to submit forms and handle server responses using raw XMLHttpRequest and jQuery, compares GET and POST methods, and outlines the benefits, drawbacks, and suitable scenarios for AJAX in web development.

AJAXFrontendJavaScript
0 likes · 12 min read
Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages
Mafengwo Technology
Mafengwo Technology
Apr 18, 2019 · Frontend Development

How to Build an Efficient Front‑End Monitoring Data Collection System

This article explains why front‑end monitoring is essential for user experience, outlines the key data types to collect, and provides practical AOP‑based implementations for route changes, JavaScript errors, performance metrics, resource failures, API calls, and reliable log reporting.

AOPFrontendJavaScript
0 likes · 14 min read
How to Build an Efficient Front‑End Monitoring Data Collection System
iQIYI Technical Product Team
iQIYI Technical Product Team
Apr 12, 2019 · Frontend Development

Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework

The paper presents a custom JavaScript automatic binding tool for iQIYI’s React Node Desktop framework that parses C++ headers with libclang, applies user‑written YAML rules, generates multi‑inheritance‑aware wrappers via the Mate abstraction, and abstracts engine specifics through a Node‑Addon‑API‑based common layer to support both V8 and JavaScriptCore.

BindingC++JavaScript
0 likes · 24 min read
Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework
Tencent Cloud Developer
Tencent Cloud Developer
Apr 11, 2019 · Mobile Development

Building a Markdown Content Publishing System with WeChat Mini‑Program Cloud Development

The guide walks through creating a full‑stack markdown publishing system for a WeChat mini‑program using Cloud Development, detailing project initialization, defining an “article” collection, importing .md files via cloud functions, displaying lists, rendering markdown on detail pages, and debugging cloud functions without a separate backend.

ComiJavaScriptMarkdown
0 likes · 12 min read
Building a Markdown Content Publishing System with WeChat Mini‑Program Cloud Development
360 Tech Engineering
360 Tech Engineering
Apr 2, 2019 · Frontend Development

Development Guide for the 360 AI Speaker Official Website

This article details the practical implementation of the 360 AI speaker's landing page, covering screen‑resolution analysis, large‑image rendering choices, responsive rem‑based typography, HTML structure, CSS positioning, custom web‑font integration, and a pure‑CSS sticky‑footer solution, all built under tight time constraints.

FrontendHTMLJavaScript
0 likes · 13 min read
Development Guide for the 360 AI Speaker Official Website
Tencent Cloud Developer
Tencent Cloud Developer
Mar 28, 2019 · Mobile Development

Community Mini-Program Feature Implementation Using Cloud Development

The guide shows how to create a WeChat community mini‑program with cloud development that lets users post text and up to six images, implements home, publishing, and personal‑center pages, handles data pagination, image preview and deletion, stores posts in cloud collections, manages user authorization and avatar display, and addresses typical permission and refresh problems.

FrontendImage UploadJavaScript
0 likes · 12 min read
Community Mini-Program Feature Implementation Using Cloud Development
Tencent Music Tech Team
Tencent Music Tech Team
Mar 22, 2019 · Frontend Development

How to Build a Frontend User‑Behavior Tracing System for Debugging External Network Issues

This article analyzes the challenges of reproducing external‑network bugs, outlines common failure causes, and presents a complete design for a JavaScript SDK that records environment data, AJAX calls, errors, and user actions, stores them in IndexedDB, and visualizes the timeline for efficient troubleshooting.

FrontendIndexedDBJavaScript
0 likes · 15 min read
How to Build a Frontend User‑Behavior Tracing System for Debugging External Network Issues
21CTO
21CTO
Mar 14, 2019 · Blockchain

Essential Guide to Blockchain Programming: Top Languages, Platforms, and Use Cases

This article explores blockchain programming fundamentals, compares public and permissioned chains, reviews major development platforms, and evaluates the top five languages—C++, JavaScript, Python, Go, and Solidity—highlighting their strengths, weaknesses, and real‑world blockchain applications.

C++DAppJavaScript
0 likes · 11 min read
Essential Guide to Blockchain Programming: Top Languages, Platforms, and Use Cases
21CTO
21CTO
Mar 1, 2019 · Frontend Development

Why Omi Is the Next‑Gen Frontend Framework for Cross‑Platform Development

The article introduces Tencent’s open‑source Omi framework, a next‑generation frontend solution built on Web Components that enables developers to write code once and deploy it across desktop web, mobile H5, and various mini‑program platforms, highlighting its features, setup commands, debugging tools, and React‑to‑Omi component conversion.

JavaScriptOmifrontend framework
0 likes · 5 min read
Why Omi Is the Next‑Gen Frontend Framework for Cross‑Platform Development
MaoDou Frontend Team
MaoDou Frontend Team
Feb 25, 2019 · Frontend Development

Master JavaScript Promises: From Basics to Advanced API

This article explains what JavaScript Promises are, their immutable states, advantages and drawbacks, details the constructor, instance and static methods, provides code examples, and walks through the source implementations of resolve, reject, all, and race.

APIJavaScriptPromise
0 likes · 8 min read
Master JavaScript Promises: From Basics to Advanced API
Tencent Cloud Developer
Tencent Cloud Developer
Feb 20, 2019 · Cloud Computing

WePY and Cloud Development: Practical Guide and Best Practices

The guide explains how to combine WePY’s Vue‑style component model with Tencent Cloud Development—showing project initialization, cloud‑function setup, common pitfalls, and a token‑caching example—so developers can build and launch a full mini‑program in roughly 24 hours while competing for best‑practice prizes.

JavaScriptMini ProgramTencent Cloud
0 likes · 9 min read
WePY and Cloud Development: Practical Guide and Best Practices
UC Tech Team
UC Tech Team
Feb 18, 2019 · Frontend Development

React Hooks – Introduction, Usage, Tooling, and Changelog

This article introduces React Hooks, explains how they enable state and other React features without classes, provides official resources, outlines migration advice, details supported packages, tooling integrations, testing APIs, installation methods, and summarizes the changelog and post‑alpha updates for the stable 16.8 release.

ESLintFrontendHooks
0 likes · 12 min read
React Hooks – Introduction, Usage, Tooling, and Changelog
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
Feb 1, 2019 · Frontend Development

CSS and JS Are at War – How to Stop It

The article examines the perceived conflict between JavaScript and CSS/UX developers, explains how community segregation and social media amplify the divide, and proposes practical steps for fostering collaboration and reducing the "JS vs CSS" war in front‑end development.

CommunityFrontendJavaScript
0 likes · 6 min read
CSS and JS Are at War – How to Stop It
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
Programmer DD
Programmer DD
Jan 9, 2019 · Fundamentals

How to Find the Peak in a Bitonic Array Using Binary Search

This article presents a JavaScript solution for locating the maximum element in a bitonic (first increasing then decreasing) array, explaining that the problem is a variant of binary search and providing a complete implementation using a binary‑search‑based algorithm.

Binary SearchInterview QuestionJavaScript
0 likes · 3 min read
How to Find the Peak in a Bitonic Array Using Binary Search
AI Large-Model Wave and Transformation Guide
AI Large-Model Wave and Transformation Guide
Jan 6, 2019 · Artificial Intelligence

Can JavaScript Teach k‑Nearest Neighbors? Build a Visual kNN Classifier from Scratch

This article walks through the theory of k‑nearest‑neighbors, explains feature selection and normalization, shows how to implement the algorithm with plain JavaScript classes, visualizes results on an HTML canvas, and discusses practical limitations and extensions.

JavaScriptMachine Learningalgorithm implementation
0 likes · 22 min read
Can JavaScript Teach k‑Nearest Neighbors? Build a Visual kNN Classifier from Scratch
Tencent Cloud Developer
Tencent Cloud Developer
Jan 3, 2019 · Mobile Development

Building a Lightweight Note‑Taking Mini Program with WeChat Cloud Development

The article describes how to quickly build a lightweight WeChat Mini Program for note‑taking using Cloud Development, covering registration, cloud setup, and core code for creating, querying, and editing notes with text and images, while eliminating the need for separate servers, domains, and certificates.

FrontendJavaScriptWeChat Mini Program
0 likes · 13 min read
Building a Lightweight Note‑Taking Mini Program with WeChat Cloud Development
21CTO
21CTO
Jan 1, 2019 · Artificial Intelligence

What Tech Trends Will Dominate 2019? AI, 5G, PWA, Blockchain & More

The article forecasts the major technology trends for 2019, highlighting the rise of artificial intelligence, the transition beyond smartphones to wearable interfaces, global 5G deployment, the surge of progressive web apps, expanding blockchain applications, low‑code development, cloud services growth, and the continued dominance of JavaScript and modern development practices.

5GArtificial IntelligenceJavaScript
0 likes · 12 min read
What Tech Trends Will Dominate 2019? AI, 5G, PWA, Blockchain & More
UC Tech Team
UC Tech Team
Dec 28, 2018 · Frontend Development

Using Chrome DevTools Console Shortcuts: $, $$, $_, and $i

This article introduces Chrome DevTools console shortcuts—including $0‑$4 for element references, $ and $$ for query selectors, $_ for the last expression result, and $i for importing npm libraries—explaining their usage to streamline front‑end debugging and testing.

Chrome DevToolsFrontendJavaScript
0 likes · 3 min read
Using Chrome DevTools Console Shortcuts: $, $$, $_, and $i
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.

BackendJavaScriptNode.js
0 likes · 18 min read
19 Ways to Become a Better Node.js Developer in 2019
JD Tech
JD Tech
Dec 24, 2018 · Mobile Development

Introducing ARES Cross‑Platform Mobile Development Solution and Mini‑Program Conversion Tool

The article presents ARES, JD.com's cross‑platform mobile application framework comprising Engines, Websites, Studio, Store, and Console, and details its mini‑program conversion tool that bridges ARES Engines with WeChat mini‑programs through command‑line usage, AST manipulation, runtime integration, component alignment, third‑party library support, routing, animation, and conversion constraints.

ASTJavaScriptReact Native
0 likes · 13 min read
Introducing ARES Cross‑Platform Mobile Development Solution and Mini‑Program Conversion Tool
UC Tech Team
UC Tech Team
Dec 21, 2018 · Frontend Development

HTM: A Zero‑Compiler JSX‑Like Syntax for JavaScript

HTM is a pure‑JavaScript library that implements a JSX‑like syntax without a compiler, offering sub‑kilobyte bundle sizes, seamless integration with React/Preact, ergonomic syntax enhancements, and a new Babel plugin that dramatically improves performance and flexibility for frontend developers.

BabelFrontendHTM
0 likes · 4 min read
HTM: A Zero‑Compiler JSX‑Like Syntax for JavaScript
Qunar Tech Salon
Qunar Tech Salon
Dec 21, 2018 · Frontend Development

Using Web Share Target API to Receive Shared Content on Websites

This article explains how to register a website as a share target using the Web Share Target API, update the manifest file, handle incoming shared data with JavaScript, and outlines browser support, usage scenarios, and example implementations for modern front‑end development.

JavaScriptProgressive Web AppWeb API
0 likes · 7 min read
Using Web Share Target API to Receive Shared Content on Websites
Qunar Tech Salon
Qunar Tech Salon
Dec 20, 2018 · Frontend Development

Introduction to the Web Share API: Usage, Syntax, and Browser Support

This article introduces the Web Share API, explaining its purpose, syntax, usage examples, browser compatibility, and best practices for integrating native sharing functionality into mobile web pages; it also covers required HTTPS conditions, user‑gesture triggers, and provides sample ES6 code snippets for developers.

JavaScriptMobile WebWeb Share API
0 likes · 7 min read
Introduction to the Web Share API: Usage, Syntax, and Browser Support
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Dec 19, 2018 · Frontend Development

Can WebAssembly Speed Up Browser File Scanning? A Real‑World Performance Study

This article explores how WebAssembly, compiled via Emscripten from C/C++ code, can accelerate file‑scanning tasks in a web‑based email attachment uploader, detailing the compilation pipeline, runtime communication, performance benchmarks against pure JavaScript, and practical optimizations for worker‑based processing.

EmscriptenJavaScriptWASM
0 likes · 18 min read
Can WebAssembly Speed Up Browser File Scanning? A Real‑World Performance Study
UC Tech Team
UC Tech Team
Dec 14, 2018 · Frontend Development

Bootstrap 3.4.0 Released: New Features, Fixes, and Documentation Updates

Bootstrap 3.4.0 has been released after a long delay, bringing new classes, Algolia search, multiple XSS fixes, documentation improvements, upgrade instructions, and a new Open Collective funding project, while also previewing upcoming work on v4.2 and v5.

BootstrapFrontendJavaScript
0 likes · 6 min read
Bootstrap 3.4.0 Released: New Features, Fixes, and Documentation Updates
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
Qunar Tech Salon
Qunar Tech Salon
Dec 13, 2018 · Frontend Development

Understanding Babel: History, Usage, and Custom Plugin Development

This article introduces Babel as a popular JavaScript compiler, explains its origin, demonstrates basic installation and configuration, shows how arrow functions are transformed, and guides readers through creating a simple custom Babel plugin using visitors and AST manipulation.

ASTBabelJavaScript
0 likes · 10 min read
Understanding Babel: History, Usage, and Custom Plugin Development
Java Captain
Java Captain
Dec 12, 2018 · Backend Development

Configuring Spring MVC with JSP, JSTL, Custom Tags, and JavaScript for a Seckill Application

This tutorial demonstrates how to configure Spring MVC in a Java web project by modifying web.xml, creating DispatcherServlet, implementing controllers and DTOs, setting up JSP pages with Bootstrap, handling JSTL date formatting using custom tags for Java 8 LocalDateTime, and integrating modular JavaScript for a seckill (flash sale) application.

BootstrapCustom TagsJSP
0 likes · 17 min read
Configuring Spring MVC with JSP, JSTL, Custom Tags, and JavaScript for a Seckill Application
UC Tech Team
UC Tech Team
Dec 11, 2018 · Frontend Development

Binary AST Proposal: Accelerating JavaScript Parsing Performance

The Binary AST proposal introduces a three‑layer binary encoding for JavaScript abstract syntax trees, aiming to reduce parsing time by up to 90 % and improve web application startup performance, with early prototypes showing promising results and growing community interest.

Binary ASTFrontendJavaScript
0 likes · 6 min read
Binary AST Proposal: Accelerating JavaScript Parsing Performance
21CTO
21CTO
Dec 8, 2018 · Fundamentals

Which Open‑Source Language to Learn Next? PHP, Python, JavaScript, Ruby & Go Compared

The article examines the popularity of five open‑source programming languages—PHP, Python, JavaScript, Ruby, and Go—by evaluating their community size, typical use cases, dominant frameworks, and career prospects, helping developers choose the most suitable language for web, backend, or emerging applications.

JavaScriptPHPProgramming Languages
0 likes · 7 min read
Which Open‑Source Language to Learn Next? PHP, Python, JavaScript, Ruby & Go Compared
MaoDou Frontend Team
MaoDou Frontend Team
Dec 7, 2018 · Frontend Development

Unlock Vue-Awesome-Swiper: Essential Settings for 3D Carousel Effects

This guide walks through using vue-awesome-swiper in Vue projects, covering version differences, required CSS imports, component setup, and key configuration options such as slidesPerView, centeredSlides, and the coverflow effect, plus progress callbacks and code snippets for dynamic flash‑sale carousels.

CarouselComponentJavaScript
0 likes · 5 min read
Unlock Vue-Awesome-Swiper: Essential Settings for 3D Carousel Effects
UC Tech Team
UC Tech Team
Nov 28, 2018 · Frontend Development

React 16 Roadmap: Upcoming Features and Release Timeline

This article outlines the React 16 roadmap, detailing the planned release schedule for Suspense code‑splitting, Hooks, Concurrent Mode, data‑fetching Suspense, and related experimental projects, while explaining their current status across React DOM, server rendering, and React Native.

Concurrent ModeFrontendHooks
0 likes · 13 min read
React 16 Roadmap: Upcoming Features and Release Timeline
Tencent Cloud Developer
Tencent Cloud Developer
Nov 27, 2018 · Mobile Development

Developing a Mini Program with Cloud Functions: Posting, Viewing, and Commenting

Using the cloud‑development model, the author built a mini‑program that lets users publish posts with optional images, browse a list of posts, view details, and add comments, leveraging cloud functions for CRUD operations, cloud database for storage, and cloud storage for images, while noting the rapid prototyping advantage and the modest 2 GB database and 5 GB storage limits.

Cloud FunctionsDatabaseJavaScript
0 likes · 9 min read
Developing a Mini Program with Cloud Functions: Posting, Viewing, and Commenting
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.

BackendJavaScriptKoa
0 likes · 18 min read
Build Your Own Koa Framework from Scratch: A Step‑by‑Step Guide
UC Tech Team
UC Tech Team
Nov 23, 2018 · Frontend Development

Analysis of the State of JavaScript 2018 Survey Results

The 2018 State of JavaScript survey, answered by over 20,000 developers worldwide, reveals current preferences in languages, frameworks, tools, testing libraries, and emerging trends such as GraphQL and React Hooks, offering valuable insights for front‑end engineers.

FrontendJavaScriptReAct
0 likes · 7 min read
Analysis of the State of JavaScript 2018 Survey Results
21CTO
21CTO
Nov 20, 2018 · Frontend Development

What JavaScript Trends Dominated 2018? Insights from the State of JS Survey

Based on the 2018 State of JS survey of over 20,000 developers, this article highlights the rise of ES6 and TypeScript, the dominance of React and Vue, the popularity of Redux and GraphQL, the steady use of Node frameworks, and emerging tools for testing, mobile, and desktop development.

Backend FrameworksJavaScriptTesting
0 likes · 5 min read
What JavaScript Trends Dominated 2018? Insights from the State of JS Survey
UC Tech Team
UC Tech Team
Nov 20, 2018 · Frontend Development

State of JavaScript 2018: Trends in Frontend Frameworks, Flavors, and the JavaScript Ecosystem

The 2018 State of JavaScript report, based on responses from over 20,000 developers worldwide, reveals the most popular JavaScript flavors, front‑end frameworks, data‑layer tools, backend frameworks, testing libraries, and mobile/desktop runtimes, highlighting shifting preferences, satisfaction levels, and emerging technologies in the ecosystem.

JavaScriptReActframeworks
0 likes · 8 min read
State of JavaScript 2018: Trends in Frontend Frameworks, Flavors, and the JavaScript Ecosystem
AutoHome Frontend
AutoHome Frontend
Nov 19, 2018 · Frontend Development

5 Practical JavaScript Tricks to Write Cleaner Conditional Logic

This article presents five useful JavaScript techniques—using Array.includes, early returns, default parameters with destructuring, object literals or Map instead of switch, and Array.every/Array.some—to simplify and make conditional statements more readable and maintainable.

Code RefactoringDefault ParametersJavaScript
0 likes · 10 min read
5 Practical JavaScript Tricks to Write Cleaner Conditional Logic
UC Tech Team
UC Tech Team
Nov 13, 2018 · Fundamentals

Understanding Higher-Order Functions in JavaScript

This article explains what higher‑order functions are, why JavaScript supports functional programming, demonstrates built‑in methods like map, filter and reduce with code examples, and shows how to create your own higher‑order function for clearer, more concise code.

Functional ProgrammingHigher-Order FunctionsJavaScript
0 likes · 8 min read
Understanding Higher-Order Functions in JavaScript
Youzan Coder
Youzan Coder
Nov 9, 2018 · Frontend Development

Building a Simple Virtual DOM Diff Algorithm: From Concept to Code

This article explains the Virtual DOM concept, outlines a state‑driven rendering approach, implements a minimal Virtual DOM (VD) structure, creates a diff algorithm to generate patch objects, applies those patches to the real DOM, and compares its performance with full re‑rendering.

DOM PatchingDiff AlgorithmJavaScript
0 likes · 8 min read
Building a Simple Virtual DOM Diff Algorithm: From Concept to Code
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
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Nov 6, 2018 · Frontend Development

Master Image Lazy Loading: From Scroll Events to IntersectionObserver

This article explains why loading all images in a long list hurts performance, presents step‑by‑step lazy‑loading techniques—including placeholder images, scroll calculations, getBoundingClientRect, and the modern IntersectionObserver API—provides full code samples, and discusses optimization tips for smoother front‑end experiences.

Image optimizationIntersectionObserverJavaScript
0 likes · 9 min read
Master Image Lazy Loading: From Scroll Events to IntersectionObserver
360 Tech Engineering
360 Tech Engineering
Nov 5, 2018 · Frontend Development

Using the Beacon API for Front‑End Log Reporting

The article explains why traditional image‑based log reporting can interfere with critical front‑end tasks, introduces the Beacon API as an asynchronous, low‑priority solution, and provides practical code examples and usage guidelines to ensure reliable data delivery without impacting user experience.

FrontendJavaScriptLogging
0 likes · 6 min read
Using the Beacon API for Front‑End Log Reporting