Tagged articles

JavaScript

2473 articles · Page 22 of 25
Qunar Tech Salon
Qunar Tech Salon
May 10, 2018 · Frontend Development

Understanding JavaScript Type Coercion: Implicit and Explicit Conversions

This article explains JavaScript's type coercion mechanisms, covering both implicit and explicit conversions for strings, numbers, booleans, objects, and symbols, and demonstrates how abstract operations like ToPrimitive, ToString, ToNumber, and ToBoolean affect runtime behavior.

ES5Explicit ConversionImplicit Conversion
0 likes · 17 min read
Understanding JavaScript Type Coercion: Implicit and Explicit Conversions
360 Tech Engineering
360 Tech Engineering
Apr 28, 2018 · Backend Development

Weekly Tech Digest: Large‑Scale JavaScript Architecture, Secure Node.js Sandboxing, V8 Updates, and Cross‑Platform CRNWEB

This newsletter highlights design principles for massive JavaScript applications, secure sandboxing techniques for Node.js, the latest Node.js 10 and V8 6.6 features, WebAssembly debugging, and the CRNWEB framework enabling a single codebase across React‑Native, web, and PWA platforms.

JavaScriptNode.jsPWA
0 likes · 4 min read
Weekly Tech Digest: Large‑Scale JavaScript Architecture, Secure Node.js Sandboxing, V8 Updates, and Cross‑Platform CRNWEB
Tencent Cloud Developer
Tencent Cloud Developer
Mar 29, 2018 · Information Security

GitHub Security Alerts Accelerate Vulnerability Fixes for Ruby and JavaScript Projects

GitHub’s security alerts, launched in October, have dramatically cut remediation times for Ruby and JavaScript projects—nearly half of alerts are addressed within a week and 98% of actively maintained repositories patch within seven days—identifying over 400 million vulnerabilities across more than 500 thousand repositories, with detailed notifications delivered via the platform, email, and a new weekly summary, and future support planned for Python.

Dependency ScanningGitHubJavaScript
0 likes · 3 min read
GitHub Security Alerts Accelerate Vulnerability Fixes for Ruby and JavaScript Projects
Qunar Tech Salon
Qunar Tech Salon
Mar 28, 2018 · Frontend Development

Key New Features and Architectural Changes in React 16

This article reviews the major additions and deprecations introduced in React 16, including component array returns, portals, error boundaries, fragments, strict mode, the new context API, createRef/forwardRef, fiber architecture, and async rendering utilities, illustrated with code examples.

Context APIHooksJavaScript
0 likes · 9 min read
Key New Features and Architectural Changes in React 16
JD Tech
JD Tech
Mar 27, 2018 · Frontend Development

Quick App Introduction and Hands‑On Development Guide

This article introduces the Quick App platform, explains its front‑end‑based architecture, provides a step‑by‑step Windows setup and project initialization guide, showcases UI layout and JavaScript code examples, compares it with Mini‑Programs and JDReact, and offers resources for developers interested in rapid, install‑free mobile app development.

JavaScriptQuick Appfrontend development
0 likes · 8 min read
Quick App Introduction and Hands‑On Development Guide
JD Retail Technology
JD Retail Technology
Mar 27, 2018 · Frontend Development

Master Quick Apps: From Architecture to Hands‑On Development

This guide introduces Quick Apps, explains their front‑end‑centric architecture, walks through environment setup, project initialization, UI layout, JavaScript logic, debugging, deep linking, and compares Quick Apps with WeChat Mini‑Programs and JDReact, providing practical code snippets and tips for Android developers.

JDReactJavaScriptQuick App
0 likes · 11 min read
Master Quick Apps: From Architecture to Hands‑On Development
JD Tech
JD Tech
Mar 26, 2018 · Frontend Development

JSSDK: A Frontend Development Toolkit for JD App Integration

JSSDK is a JavaScript SDK that enables H5 developers to quickly integrate JD app features such as sharing, deep linking, and native function calls across platforms, offering modular, version‑compatible, and type‑safe APIs to streamline mobile web development.

H5JSSDKJavaScript
0 likes · 7 min read
JSSDK: A Frontend Development Toolkit for JD App Integration
Architecture Digest
Architecture Digest
Mar 12, 2018 · Frontend Development

Top 10 Most Common JavaScript Errors and How to Prevent Them

This article analyzes the ten most frequent JavaScript errors identified from over a thousand projects, explains why each occurs, and offers practical code examples and preventive techniques to help developers avoid these common pitfalls.

DebuggingJavaScriptWeb Development
0 likes · 12 min read
Top 10 Most Common JavaScript Errors and How to Prevent Them
JD Tech
JD Tech
Mar 9, 2018 · Frontend Development

Comprehensive Guide to WebAssembly Development with Emscripten

This article introduces WebAssembly, explains its performance advantages over JavaScript, details the setup of development tools like Emscripten, CMake, and WABT on macOS, and provides step‑by‑step examples for compiling C/C++ code to .wasm, loading modules in JavaScript, and using advanced features.

C++EmscriptenJavaScript
0 likes · 17 min read
Comprehensive Guide to WebAssembly Development with Emscripten
Qunar Tech Salon
Qunar Tech Salon
Mar 7, 2018 · Fundamentals

Dynamic Programming Solutions for 0/1, Complete, Unbounded, and Multi‑Knapsack Problems in JavaScript

This article explains the theory and JavaScript implementations of various knapsack problem variants—including 0/1, complete, unbounded, and multi‑knapsack—detailing state transition equations, space‑optimisation techniques such as rolling arrays and binary decomposition, and provides full code examples for each solution.

AlgorithmJavaScriptdynamic programming
0 likes · 16 min read
Dynamic Programming Solutions for 0/1, Complete, Unbounded, and Multi‑Knapsack Problems in JavaScript
21CTO
21CTO
Mar 6, 2018 · Frontend Development

Can WebAssembly Replace JavaScript? A Deep Dive into Its Future and Risks

This article explores WebAssembly’s origins, technical architecture, current browser support, limitations such as lack of OOP, garbage collection, and multithreading, and discusses its security concerns and roadmap, ultimately questioning whether it will ever supplant JavaScript in the web ecosystem.

BrowserJavaScriptPerformance
0 likes · 9 min read
Can WebAssembly Replace JavaScript? A Deep Dive into Its Future and Risks
Hujiang Technology
Hujiang Technology
Mar 6, 2018 · Frontend Development

The Evolution and Implementation of React Hot Loader

An in‑depth exploration of React Hot Loader’s origins, underlying HMR principles, challenges with state and DOM preservation, the development of proxy‑based solutions, React Transform, and the progression to newer versions, providing practical code examples and insights for frontend developers.

BabelHot LoaderJavaScript
0 likes · 21 min read
The Evolution and Implementation of React Hot Loader
21CTO
21CTO
Feb 28, 2018 · Frontend Development

Build a Chrome Extension in Minutes: Step‑by‑Step Guide

This tutorial walks you through creating a Chrome extension—from understanding what extensions are, setting up the manifest and HTML files, testing in developer mode, adding movie‑background features with the TMDb API, to publishing the finished extension on the Chrome Web Store.

CSSChrome ExtensionHTML
0 likes · 9 min read
Build a Chrome Extension in Minutes: Step‑by‑Step Guide
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 8, 2018 · Frontend Development

How Does JavaScript’s Promise Work Under the Hood? A Deep Dive

This article walks through the inner mechanics of JavaScript Promises, explaining their basic prototype, asynchronous handling with the event loop, state management, chainable behavior, and error handling, all illustrated with step‑by‑step code examples and diagrams.

AsynchronousDesign PatternsJavaScript
0 likes · 10 min read
How Does JavaScript’s Promise Work Under the Hood? A Deep Dive
Java Captain
Java Captain
Feb 8, 2018 · Backend Development

Implementing CAPTCHA Verification in Java with Servlet and HTML

This guide demonstrates how to create a CAPTCHA verification feature in Java by generating random characters and interference lines using Graphics, serving the image via a servlet, and integrating it into an HTML registration page with JavaScript for dynamic refresh.

GraphicsHTMLJava
0 likes · 12 min read
Implementing CAPTCHA Verification in Java with Servlet and HTML
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 6, 2018 · Frontend Development

Why Switch to Fetch API? A Frontend Guide to Modern AJAX

This article compares the traditional XMLHttpRequest‑based AJAX approach with the modern Fetch API, highlighting its Promise‑based design, cleaner syntax, better compatibility strategies, common pitfalls, and practical usage tips for frontend developers.

AJAXFetch APIJavaScript
0 likes · 4 min read
Why Switch to Fetch API? A Frontend Guide to Modern AJAX
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 2, 2018 · Frontend Development

Boost Web Performance with Loder: A Lightweight Frontend Loader

Loder is a lightweight, declarative web loader that optimizes resource‑task dependencies, enables ultra‑fast app startup, and provides performance tracking, helping developers overcome the limitations of traditional linear loading especially on constrained mobile devices.

JavaScriptPerformance OptimizationWeb Performance
0 likes · 4 min read
Boost Web Performance with Loder: A Lightweight Frontend Loader
21CTO
21CTO
Jan 31, 2018 · Fundamentals

How to Choose Your First Programming Language: A Data‑Driven Guide

This article examines how developers can decide on their first programming language by analyzing job market trends, long‑term prospects, learning speed, and project potential, using data visualizations and expert opinions to highlight why JavaScript often emerges as the top choice.

JavaScriptLearningcareer
0 likes · 10 min read
How to Choose Your First Programming Language: A Data‑Driven Guide
21CTO
21CTO
Jan 23, 2018 · Backend Development

Master npm: Install, Manage, and Optimize Node.js Packages Efficiently

This tutorial walks you through installing Node.js, configuring npm to avoid permission issues, using npm in both global and local modes, managing package versions with package.json, searching for packages, cleaning the cache, and leveraging version managers, providing a complete guide for modern JavaScript development.

JavaScriptNode.jsPackage Management
0 likes · 16 min read
Master npm: Install, Manage, and Optimize Node.js Packages Efficiently
Aotu Lab
Aotu Lab
Jan 23, 2018 · Frontend Development

How to Build a Popstar Match‑3 Game with MVC Architecture in JavaScript

This article explains the rules, scoring system, and level design of the classic "Popstar" match‑3 game, then details a full MVC implementation in JavaScript—including tile representation, wave‑average distribution, shuffle, wall solidification, view updates, control bindings, and a discussion of the knapsack‑style max‑score problem—while providing complete code snippets and a GitHub repository link.

AlgorithmJavaScriptMVC
0 likes · 14 min read
How to Build a Popstar Match‑3 Game with MVC Architecture in JavaScript
JD Retail Technology
JD Retail Technology
Jan 19, 2018 · Fundamentals

WebAssembly Overview, Setup, and Usage with Emscripten, C/C++, and Rust

This article explains the evolution of JavaScript performance, introduces WebAssembly concepts and browser support, provides step‑by‑step installation of Emscripten, WABT, and related tools on macOS, demonstrates WebAssembly APIs such as validate, Module, compile, Instance, Memory and Table, and shows practical examples of compiling and invoking C/C++ and Rust code from JavaScript.

C++EmscriptenJavaScript
0 likes · 18 min read
WebAssembly Overview, Setup, and Usage with Emscripten, C/C++, and Rust
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jan 18, 2018 · Frontend Development

How LINE Manga Achieves Native‑Like Page Transitions with a Page Stack

This article explains how LINE Manga uses a custom Page Stack architecture, inspired by iOS UINavigationController, to deliver native‑like, smooth page transitions in a web environment, addressing back‑button latency, scroll restoration, and lazy‑load image issues with practical React/React‑Router examples.

JavaScriptWeb Performancefrontend
0 likes · 5 min read
How LINE Manga Achieves Native‑Like Page Transitions with a Page Stack
Taobao Frontend Technology
Taobao Frontend Technology
Jan 18, 2018 · Frontend Development

Master Rax: From Basics to Advanced Development

This comprehensive guide introduces Rax—a lightweight, cross‑container JavaScript framework from Alibaba—covers its core concepts, JSX syntax, component lifecycle, event handling, drivers, framework APIs, development tools, debugging, deployment best practices, and provides practical code examples for beginners and experienced developers alike.

JavaScriptRaxfrontend
0 likes · 14 min read
Master Rax: From Basics to Advanced Development
21CTO
21CTO
Jan 17, 2018 · Frontend Development

Why I Love JavaScript: Uncovering Its Quirks and Powerful Features

Despite its reputation for oddities and browser inconsistencies, JavaScript has evolved with ES6 features like default parameters, arrow functions, template literals, destructuring, and more, making it expressive and efficient; this article explores those quirks and explains why the author prefers JavaScript for modern development.

JavaScriptcode exampleses6
0 likes · 6 min read
Why I Love JavaScript: Uncovering Its Quirks and Powerful Features
Hujiang Technology
Hujiang Technology
Jan 16, 2018 · Frontend Development

Implementing Data Binding in JavaScript: Observer, Compiler, and ViewModel

This article explains the concept, purpose, and elements of data binding in JavaScript, describes view‑to‑model and model‑to‑view binding techniques such as publish‑subscribe, data hijacking and dirty checking, and provides a complete implementation using an Observer, a Compile engine, and a ViewModel to achieve automatic UI updates when the underlying data changes.

JavaScriptMVVMObserver Pattern
0 likes · 10 min read
Implementing Data Binding in JavaScript: Observer, Compiler, and ViewModel
21CTO
21CTO
Jan 13, 2018 · Frontend Development

Which JavaScript Frameworks Ruled 2017? npm’s State‑of‑JS Report Revealed

The 2017 npm State of JavaScript report analyzes the popularity and growth of major front‑end frameworks—React, Preact, Angular, Ember, Vue, and Backbone—showing dramatic shifts, rapid adoption rates, and guidance for developers choosing the right tool for their projects.

JavaScriptReActVue
0 likes · 6 min read
Which JavaScript Frameworks Ruled 2017? npm’s State‑of‑JS Report Revealed
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jan 13, 2018 · Frontend Development

Master 48 Essential JavaScript Snippets in 30 Seconds

This article presents a curated collection of 48 practical JavaScript utilities—from generating anagrams and calculating averages to deep‑flattening arrays and creating UUIDs—each explained in a concise description with ready‑to‑use code examples for front‑end developers.

AlgorithmsJavaScriptcode snippets
0 likes · 16 min read
Master 48 Essential JavaScript Snippets in 30 Seconds
Architecture Digest
Architecture Digest
Jan 11, 2018 · Frontend Development

Building a React Project Structure from Scratch: A Comprehensive Guide

This article walks through creating a React application without scaffolding tools, detailing project directory layout, chosen technology stack—including React, Redux, Immutable.js, react-router, redux-saga, and related debugging and persistence utilities—while explaining component design, middleware, enhancers, routing, and asynchronous task management.

JavaScriptReActRedux
0 likes · 33 min read
Building a React Project Structure from Scratch: A Comprehensive Guide
JavaScript
JavaScript
Jan 1, 2018 · Frontend Development

Schedule a Two‑Hour Delayed Console Message with setTimeout

This concise JavaScript example demonstrates how to employ setTimeout to schedule a console.log call that prints a colored 'Good night, friends~' message after a two‑hour delay, illustrating the use of timing functions and CSS styling within console output.

JavaScriptconsole.logfrontend
0 likes · 1 min read
Schedule a Two‑Hour Delayed Console Message with setTimeout
21CTO
21CTO
Dec 25, 2017 · Frontend Development

What 23,000 Developers Reveal About JavaScript Trends, Frameworks, and Salaries

Based on responses from over 23,000 developers, this survey uncovers the latest JavaScript ecosystem trends—including the dominance of React, the evolving roles of Angular and Vue, rising interest in GraphQL, salary impacts of framework choices, and the expanding use of JavaScript beyond the browser.

AngularGraphQLJavaScript
0 likes · 9 min read
What 23,000 Developers Reveal About JavaScript Trends, Frameworks, and Salaries
21CTO
21CTO
Dec 22, 2017 · Frontend Development

Choosing the Right JavaScript Framework: Strengths, Weaknesses, and Future Outlook

This article reviews a series of JavaScript web‑framework comparisons, outlining why using a framework matters, summarizing the pros, cons, and future directions of Angular 2+, React + Redux, Vue.js, Dojo 2, Ember, and Aurelia to help developers and teams make informed choices.

AngularFramework ComparisonJavaScript
0 likes · 19 min read
Choosing the Right JavaScript Framework: Strengths, Weaknesses, and Future Outlook
System Architect Go
System Architect Go
Dec 22, 2017 · Fundamentals

Understanding Floating-Point Precision Issues and Practical Solutions in Programming Languages

This article explains why all IEEE‑754 based languages suffer from floating‑point precision errors, illustrates common problematic calculations, and presents integer‑conversion techniques and library recommendations such as decimal.js to achieve accurate numeric results, especially for financial computations.

JavaScriptPrecisiondecimal.js
0 likes · 4 min read
Understanding Floating-Point Precision Issues and Practical Solutions in Programming Languages
CSS Magic
CSS Magic
Dec 18, 2017 · Frontend Development

Fix Common ESLint Warnings in Existing JavaScript Code (Part 2)

This article explains why ESLint’s no‑return‑assign and no‑constant‑condition rules fire, shows concrete examples—including arrow functions and leftover debug code—and provides step‑by‑step fixes to make the intent of the JavaScript code clear and maintainable.

ESLintJavaScriptLinting
0 likes · 7 min read
Fix Common ESLint Warnings in Existing JavaScript Code (Part 2)
Liulishuo Tech Team
Liulishuo Tech Team
Dec 15, 2017 · Frontend Development

Mastering Frontend Unit Testing: Mocha vs Jest and Practical Tips

This article explores why unit testing is essential for frontend projects, compares Mocha and Jest across assertions, coverage, environment setup, mocking, snapshots, and watch mode, and offers practical guidance on choosing tools, writing maintainable tests, and balancing coverage with development speed.

CoverageJavaScriptJest
0 likes · 19 min read
Mastering Frontend Unit Testing: Mocha vs Jest and Practical Tips
Taobao Frontend Technology
Taobao Frontend Technology
Dec 8, 2017 · Artificial Intelligence

Can JavaScript Power Handwritten Digit Recognition? Build a k‑NN Classifier from Scratch

This article walks you through using JavaScript to implement a simple k‑nearest neighbours classifier for the MNIST handwritten digit dataset, covering data representation, preparation, algorithm implementation, testing, performance analysis, and practical deployment considerations.

JavaScriptMNISThandwritten digit recognition
0 likes · 14 min read
Can JavaScript Power Handwritten Digit Recognition? Build a k‑NN Classifier from Scratch
Baidu Maps Tech Team
Baidu Maps Tech Team
Dec 7, 2017 · Frontend Development

How WebAssembly Boosts Web Performance: From asm.js to Near‑Native Speed

This article explains the evolution from asm.js to WebAssembly, compares their performance, outlines implementation strategies—including AssemblyScript, hand‑written asm.js, and C/C++ compilation with Emscripten—and provides practical code examples and tips for integrating WebAssembly into web applications.

BinaryenEmscriptenJavaScript
0 likes · 15 min read
How WebAssembly Boosts Web Performance: From asm.js to Near‑Native Speed
Qunar Tech Salon
Qunar Tech Salon
Dec 6, 2017 · Frontend Development

Using Draft.js for Custom Rich Text Editing in React

This article explains how Draft.js, a React‑based rich‑text editor framework, can be applied to build a customizable editor with support for structured content, immutable state management, custom block rendering, data conversion, and hook handling, providing code examples throughout.

Draft.jsJavaScriptReAct
0 likes · 9 min read
Using Draft.js for Custom Rich Text Editing in React
Beike Product & Technology
Beike Product & Technology
Nov 27, 2017 · Frontend Development

Implementing Scroll-Based Lazy Loading, Event Throttling, and Request Locking for Frontend Pagination

This article explains how to replace traditional pagination with scroll‑triggered lazy loading, using a 200 px threshold, 60 ms event throttling, a loading‑state lock, UI feedback, error handling, and cross‑platform scroll compatibility to improve user experience on web and mobile pages.

JavaScriptPaginationevent-throttling
0 likes · 6 min read
Implementing Scroll-Based Lazy Loading, Event Throttling, and Request Locking for Frontend Pagination
Aotu Lab
Aotu Lab
Nov 17, 2017 · Game Development

How to Build a Physics‑Powered Basketball Mini‑Game with LayaAir and Matter.js

This tutorial walks through creating a web‑based basketball shooting game by initializing LayaAir, integrating the Matter.js physics engine, handling user gestures to draw aim lines, applying forces to a ball, and adding realistic basket components, while sharing practical code snippets and performance tips.

HTML5JavaScriptLayaAir
0 likes · 11 min read
How to Build a Physics‑Powered Basketball Mini‑Game with LayaAir and Matter.js
21CTO
21CTO
Nov 6, 2017 · Frontend Development

Master React Router v4: A Complete Guide to Building Dynamic and Protected Routes

This tutorial walks you through installing React Router v4, creating basic, nested, and dynamic routes, handling URL parameters, and implementing protected routes with authentication, providing comprehensive code examples and best practices for building robust client‑side navigation in modern React applications.

JavaScriptProtected RoutesReAct
0 likes · 18 min read
Master React Router v4: A Complete Guide to Building Dynamic and Protected Routes
Aotu Lab
Aotu Lab
Nov 3, 2017 · Game Development

Build a One‑Stroke Puzzle Game with Auto‑Graph Recognition

This article explains how to implement a one‑stroke puzzle game using graph theory, describes the two‑step rendering process, provides JavaScript pseudocode for touch interaction, and details an automatic image‑recognition tool that extracts level data from hand‑drawn diagrams while optimizing performance.

CanvasJavaScriptgraph theory
0 likes · 15 min read
Build a One‑Stroke Puzzle Game with Auto‑Graph Recognition
Qunar Tech Salon
Qunar Tech Salon
Nov 3, 2017 · Frontend Development

Understanding Virtual DOM: An Introduction Using Snabbdom in Vue

This article explains the concept and implementation of virtual DOM, focusing on Vue's use of the Snabbdom algorithm, detailing its node structure, creation, update process, lifecycle hooks, and code examples to illustrate how virtual DOM optimizes front‑end performance.

JavaScriptPerformanceSnabbdom
0 likes · 6 min read
Understanding Virtual DOM: An Introduction Using Snabbdom in Vue
Hujiang Technology
Hujiang Technology
Nov 1, 2017 · Backend Development

Understanding and Implementing Promisify in JavaScript

Promisify converts Node‑style callback functions into Promise‑based ones by ensuring the callback is the last argument and its first parameter is an error, enabling cleaner asynchronous code with examples, implementation details, and optimizations for JavaScript developers.

AsynchronousJavaScriptNode.js
0 likes · 5 min read
Understanding and Implementing Promisify in JavaScript
Hujiang Technology
Hujiang Technology
Oct 26, 2017 · Frontend Development

Design Patterns in Front-End JavaScript Development

This article explains how to apply common design patterns such as Singleton and Observer in front‑end JavaScript, demonstrating practical extensions using Function.prototype, discussing the Open‑Closed Principle, and providing code examples for flexible, maintainable code without invasive modifications.

Design PatternsJavaScriptOpen-Closed Principle
0 likes · 10 min read
Design Patterns in Front-End JavaScript Development
CSS Magic
CSS Magic
Oct 24, 2017 · Frontend Development

Fix Common ESLint Warnings in Existing JavaScript Code (Part 1)

This article explains why rules like eqeqeq, no‑bitwise, and no‑implicit‑coercion should be avoided, shows concrete examples of problematic code, and provides clear manual fixes to improve JavaScript quality with ESLint.

ESLintJavaScriptLinting
0 likes · 6 min read
Fix Common ESLint Warnings in Existing JavaScript Code (Part 1)
21CTO
21CTO
Oct 22, 2017 · Frontend Development

Mastering React: From Transformation to Algebraic Effects

This article walks front‑end developers through the author's deductive model of React, covering transformation, abstraction, composition, state handling, memoization, list management, continuations, state maps, and algebraic effects with clear code examples.

Component ArchitectureJavaScriptReAct
0 likes · 9 min read
Mastering React: From Transformation to Algebraic Effects
Aotu Lab
Aotu Lab
Oct 13, 2017 · Frontend Development

Extend setTimeout/setInterval with Pause, Resume, and Batch Management

This article shows how to create a global timer object that tracks setTimeout and setInterval IDs, provides batch clearing, adds pause and resume capabilities, and demonstrates framework‑agnostic implementations inspired by CreateJS and PIXI, with full code examples and GitHub references.

CreateJSJavaScriptpause resume
0 likes · 7 min read
Extend setTimeout/setInterval with Pause, Resume, and Batch Management
Aotu Lab
Aotu Lab
Oct 13, 2017 · Game Development

How to Build a Classic Snake Game with MVC and Efficient Data Structures

This article explains how to implement the classic Snake game using the MVC pattern, detailing the model's grid representation, chain‑list versus array for the snake body, random food placement algorithms, view rendering optimizations with PIXI, and control APIs for game interaction.

AlgorithmJavaScriptMVC
0 likes · 12 min read
How to Build a Classic Snake Game with MVC and Efficient Data Structures
Hujiang Technology
Hujiang Technology
Oct 12, 2017 · Fundamentals

Functional Light JavaScript: A Practical Introduction to Lightweight Functional Programming

This article introduces the Chinese translation of "Functional Light JavaScript," explaining the book’s focus on lightweight functional programming concepts in JavaScript, the author’s journey, the core philosophy, a detailed table of contents, and where to find the open‑source translation.

Functional ProgrammingJavaScriptProgramming Paradigms
0 likes · 12 min read
Functional Light JavaScript: A Practical Introduction to Lightweight Functional Programming
Qunar Tech Salon
Qunar Tech Salon
Oct 11, 2017 · Frontend Development

Top 18 Highly Rated Front‑End Open‑Source Projects for Learning

This article curates the 18 most popular Chinese front‑end open‑source projects—covering UI frameworks, chart libraries, responsive grids, animation tools and more—detailing their ratings, star counts, licenses, primary languages, platforms and key features to help developers choose effective learning resources.

CSSHTMLJavaScript
0 likes · 15 min read
Top 18 Highly Rated Front‑End Open‑Source Projects for Learning
21CTO
21CTO
Oct 9, 2017 · Frontend Development

Master JavaScript Debugging: Step-by-Step Guide Using Chrome DevTools

Learn how to efficiently locate and fix JavaScript bugs by reproducing errors, setting breakpoints, stepping through code, inspecting variables with Watch expressions, and editing code directly in Chrome DevTools, all demonstrated through a concrete addition calculator example.

Chrome DevToolsDebuggingJavaScript
0 likes · 8 min read
Master JavaScript Debugging: Step-by-Step Guide Using Chrome DevTools
21CTO
21CTO
Oct 8, 2017 · Fundamentals

Which Programming Languages Are Rising in 2017? Insights from the TIOBE Index

According to the October 2017 TIOBE Index, Java, C, and C++ remain the top three languages, while C# and Python hold fourth and fifth places; Swift has slipped to 16th, and the rise of hybrid mobile frameworks is boosting C# and JavaScript at the expense of Java and Swift.

C++JavaJavaScript
0 likes · 3 min read
Which Programming Languages Are Rising in 2017? Insights from the TIOBE Index
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Sep 21, 2017 · Frontend Development

Understanding Unit Testing and Jest: Concepts, Types, Tools, and Best Practices

This article explains the fundamentals of unit testing, including its importance, various test types, tool categories, implementation principles, hooks, best‑practice guidelines, and introduces the Jest JavaScript testing framework with installation steps, features, and example test scripts for both synchronous and asynchronous code.

BDDJavaScriptJest
0 likes · 9 min read
Understanding Unit Testing and Jest: Concepts, Types, Tools, and Best Practices
MaGe Linux Operations
MaGe Linux Operations
Sep 18, 2017 · Backend Development

How to Scrape Meituan Waimai App Comments via AJAX and JavaScript

This guide walks you through analyzing the Meituan Waimai app's comment section, uncovering the AJAX requests that load data, constructing the proper URL pattern, looping through pages to fetch JSON, and storing the results in files or a database for further analysis.

AJAXJavaScriptMeituan
0 likes · 5 min read
How to Scrape Meituan Waimai App Comments via AJAX and JavaScript
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 6, 2017 · Frontend Development

How to Build Scalable Web SPA Systems with NEJ: Module Architecture Explained

This article walks through using NetEase's NEJ framework to decompose a complex single‑page web application into hierarchical modules, create and format dependency trees, register external and layout modules, define module directories, implement module logic and messaging, and finally integrate and package the system for scalable deployment.

JavaScriptNEJdependency tree
0 likes · 18 min read
How to Build Scalable Web SPA Systems with NEJ: Module Architecture Explained
21CTO
21CTO
Sep 3, 2017 · Frontend Development

Why JavaScript Fatigue Happens and How to Overcome It

This article examines why JavaScript developers experience fatigue, explains that software exists to reduce costs and increase revenue, and offers practical strategies—such as mastering fundamentals, selective tool use, and test‑driven development—to help engineers stay productive and focused on solving real business problems.

JS fatigueJavaScriptProductivity
0 likes · 18 min read
Why JavaScript Fatigue Happens and How to Overcome It
DevOps Engineer
DevOps Engineer
Aug 30, 2017 · Operations

Introduction and Overview of Nightwatch.js End‑to‑End Testing Framework

This article introduces Nightwatch.js, a Node.js‑based end‑to‑end testing framework for web and app testing, explains why the author switched from Java‑Selenium‑TestNG to Nightwatch.js, and outlines its key features such as simple syntax, built‑in runner, Selenium integration, cloud support, CI reporting, and extensibility.

AutomationE2E testingJavaScript
0 likes · 3 min read
Introduction and Overview of Nightwatch.js End‑to‑End Testing Framework
Baixing.com Technical Team
Baixing.com Technical Team
Aug 28, 2017 · Frontend Development

Master Server‑Side Rendering with Nuxt.js: A Quick Start Guide

Learn how Nuxt.js extends Vue.js to provide seamless server‑side rendering, from installation and project scaffolding to directory structure, rendering flow, middleware, asyncData handling, routing conventions, and configuration tips, enabling SEO‑friendly, high‑performance web applications.

JavaScriptNuxt.jsServer-side Rendering
0 likes · 15 min read
Master Server‑Side Rendering with Nuxt.js: A Quick Start Guide
Architecture Digest
Architecture Digest
Aug 25, 2017 · Frontend Development

A Comprehensive Guide to Building a Full‑Stack Front‑End Skill Set

This article presents a detailed roadmap for aspiring front‑end engineers, covering essential fundamentals, design principles, development techniques, networking basics, server‑side knowledge, database skills, and soft‑skill practices, while providing practical code examples and resource recommendations.

JavaScriptWeb Developmentcoding standards
0 likes · 45 min read
A Comprehensive Guide to Building a Full‑Stack Front‑End Skill Set
Hujiang Technology
Hujiang Technology
Aug 24, 2017 · Frontend Development

WeChat Mini Program Practical Tutorial: Course Outline and Development Guide

This article presents a comprehensive Mini Program tutorial covering the full course syllabus—from introductory setup and appID registration to intermediate project structure, utility extraction, network handling, list and detail page implementation—along with a detailed step‑by‑step guide for obtaining and configuring an appID.

AppIdDevelopmentJavaScript
0 likes · 5 min read
WeChat Mini Program Practical Tutorial: Course Outline and Development Guide
Baixing.com Technical Team
Baixing.com Technical Team
Aug 18, 2017 · Frontend Development

Master Cross-Domain Communication with easyXDM: Full Guide & Code Samples

This article explains why switching iframe pages to HTTPS broke automatic resizing due to cross-origin restrictions, introduces the easyXDM library as a comprehensive solution, and provides step‑by‑step code examples for parent‑child communication, protocol selection, multi‑iframe handling, and debugging techniques.

JavaScriptPostMessagecross-domain
0 likes · 15 min read
Master Cross-Domain Communication with easyXDM: Full Guide & Code Samples
Baidu Intelligent Testing
Baidu Intelligent Testing
Aug 18, 2017 · Frontend Development

Practical Guide to ES6 Features and Performance Comparisons in Node.js

This article reviews the compatibility of various Node.js versions with ES6 features, explains key ES6 constructs such as let, const, template literals, default parameters, destructuring, and classes, and presents performance benchmarks comparing these features to their ES5 equivalents, concluding with practical recommendations for developers.

JavaScriptNode.jsPerformance
0 likes · 6 min read
Practical Guide to ES6 Features and Performance Comparisons in Node.js
Baixing.com Technical Team
Baixing.com Technical Team
Aug 17, 2017 · Frontend Development

What Is Frontend Development? A Beginner’s Guide to Web Basics

This article, adapted from a university‑level front‑end lecture, explains what front‑end development is, how browsers render pages, the layered architecture of HTML, CSS, and JavaScript, and the modern tools and practices that turn static markup into interactive web applications.

HTMLJavaScriptSPA
0 likes · 15 min read
What Is Frontend Development? A Beginner’s Guide to Web Basics
Hujiang Technology
Hujiang Technology
Aug 14, 2017 · Frontend Development

Creating a WebVR Minecraft‑style Voxel Builder with A‑Frame Using Only HTML

This tutorial shows how to build a cross‑platform WebVR voxel‑building demo, similar to Minecraft, using A‑Frame and just a handful of HTML elements, covering scene setup, assets preloading, entity‑component patterns, custom components, mixins, hand controllers, teleportation, and device‑agnostic interaction.

A-FrameHTMLJavaScript
0 likes · 24 min read
Creating a WebVR Minecraft‑style Voxel Builder with A‑Frame Using Only HTML
Architecture Digest
Architecture Digest
Aug 14, 2017 · Frontend Development

An Overview of Modern Front-End Development Workflow and Tools

This article provides a comprehensive overview of the front‑end development workflow, explaining core concepts like HTML, CSS, JavaScript, and detailing essential tools such as npm, Babel, Gulp, Webpack, and popular frameworks like React and Vue, while addressing their roles and interactions.

BabelJavaScriptReAct
0 likes · 8 min read
An Overview of Modern Front-End Development Workflow and Tools
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 13, 2017 · Frontend Development

Frontend Weekly: Storybook 3.2, Webpack WebAssembly, AI in Browser

This week’s front‑end roundup covers Storybook 3.2’s Vue support, Webpack’s first‑class WebAssembly push, WebKit’s PWA plans, a browser‑based neural‑network framework, Coinbase’s $100 M raise, TensorFlow 1.3 updates, Netflix’s Vectorflow, Visual Studio 2017 preview, and Angular AOT memory limits.

Artificial IntelligenceJavaScriptWeb Development
0 likes · 6 min read
Frontend Weekly: Storybook 3.2, Webpack WebAssembly, AI in Browser
Vipshop Quality Engineering
Vipshop Quality Engineering
Aug 8, 2017 · Frontend Development

Why for…in Breaks JavaScript Arrays and How for…of Fixes It

This article examines a production incident caused by using the ES5 for...in loop to iterate over arrays, explains its pitfalls such as prototype pollution and string indexes, and demonstrates why switching to the ES6 for...of construct provides safer, more predictable array traversal.

JavaScriptPrototypearray iteration
0 likes · 6 min read
Why for…in Breaks JavaScript Arrays and How for…of Fixes It
Hujiang Technology
Hujiang Technology
Aug 7, 2017 · Frontend Development

Reverse Engineering a One‑Line JavaScript Animation: Step‑by‑Step Explanation

This article walks through the reverse‑engineering of a compact JavaScript one‑liner that draws a patterned image, refactors it into readable modules, explains each transformation—including variable renaming, loop conversion, ternary expansion, bitwise operations, and switch‑case replacement—while illustrating the underlying math with graphs and code snippets.

HTMLJavaScriptReverse Engineering
0 likes · 18 min read
Reverse Engineering a One‑Line JavaScript Animation: Step‑by‑Step Explanation
Qunar Tech Salon
Qunar Tech Salon
Aug 4, 2017 · Frontend Development

Understanding and Implementing Higher-Order Components in React

This article explains the concept of higher‑order components (HOCs) in React, demonstrates basic and advanced implementations—including parameterized HOCs, display‑name handling, composition with compose, and practical examples such as loading and copy utilities—while comparing HOCs with parent components and recommending open‑source libraries.

Higher-Order ComponentJavaScriptReAct
0 likes · 10 min read
Understanding and Implementing Higher-Order Components in React
Aotu Lab
Aotu Lab
Aug 3, 2017 · Frontend Development

Integrating Gitalk: A GitHub‑Based Comment System for Your Site

This guide explains what Gitalk is, outlines its key features, shows how to install it via CDN or npm, details required GitHub application settings, provides configuration options with code examples, and describes usage, rendering, contribution steps, and related projects.

GitHub IssuesGitalkJavaScript
0 likes · 6 min read
Integrating Gitalk: A GitHub‑Based Comment System for Your Site
Programmer DD
Programmer DD
Aug 2, 2017 · Fundamentals

Mastering Regex: How to Build Precise and Efficient Regular Expressions

This article explains how to construct regular expressions that balance matching expected strings, avoiding false matches, maintaining readability, and achieving performance, while covering when to use regex, practical JavaScript examples, accuracy techniques for phone numbers and floats, and key optimization strategies.

JavaScriptOptimizationPattern Matching
0 likes · 12 min read
Mastering Regex: How to Build Precise and Efficient Regular Expressions
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 1, 2017 · Frontend Development

Why Functional Programming Is Revolutionizing Front-End Development

This article explains the fundamentals of functional programming, its contrast with imperative coding, the role of pure functions and monads, and why its declarative and asynchronous features are increasingly essential for modern front‑end frameworks and reactive UI development.

JavaScriptPure FunctionsReactive Programming
0 likes · 10 min read
Why Functional Programming Is Revolutionizing Front-End Development
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 30, 2017 · Frontend Development

This Week's Front‑End News: React License Drama, New npm Features, and More

A roundup of this week's front‑end highlights includes NetEase's new "Dream Werewolf" game, Apple's iPod discontinuation, Facebook Messenger 2.1 with embedded NLP, React's licensing controversy, npm 5.3.0 updates, Expo SDK v19.0.0, Angular releases, Google IPv6 stats, the Facets visualization tool, and Adobe's Flash sunset.

JavaScriptNewsWeb Development
0 likes · 6 min read
This Week's Front‑End News: React License Drama, New npm Features, and More
MaGe Linux Operations
MaGe Linux Operations
Jul 27, 2017 · Fundamentals

12 Best Coding Games to Learn Programming While Having Fun

This article reviews twelve free, open‑source coding‑game platforms—such as CodeCombat, Screeps, CheckiO, VIM Adventures, Cyber‑Dojo, CodeMonkey, the Elevator Programming Game, Codewars, Ruby Quiz, Git‑Game and hacker.org—covering languages from JavaScript to Python and suitable for beginners to advanced programmers.

Game-based LearningJavaScriptPython
0 likes · 5 min read
12 Best Coding Games to Learn Programming While Having Fun
Aotu Lab
Aotu Lab
Jul 21, 2017 · Frontend Development

Master CreateJS: Preload, EaselJS, TweenJS, and Advanced Canvas Techniques

This tutorial introduces CreateJS’s four modules, demonstrates asset preloading, drawing workflows, tick handling, touch support, object layering, image manipulation, and provides a complete seamless‑scrolling background demo with full code examples.

CreateJSEaselJSHTML5 Canvas
0 likes · 12 min read
Master CreateJS: Preload, EaselJS, TweenJS, and Advanced Canvas Techniques
Hujiang Technology
Hujiang Technology
Jul 20, 2017 · Mobile Development

Understanding WKWebView: Comparison with UIWebView, Usage, Issues, and Solutions

This article introduces WKWebView, compares it with the legacy UIWebView in terms of performance and memory usage, explains usage patterns, delegate protocols, JavaScript‑Native interaction, common pitfalls such as cookie handling, process crashes, caching, and offers practical solutions and best‑practice recommendations for iOS developers.

JavaScriptNativeUIWebView
0 likes · 18 min read
Understanding WKWebView: Comparison with UIWebView, Usage, Issues, and Solutions