Tagged articles
2421 articles
Page 23 of 25
Dada Group Technology
Dada Group Technology
Apr 14, 2017 · Frontend Development

Babel Optimization: Solving Bundle Size and Performance Issues

This article explores how to optimize Babel usage to reduce bundle size and improve performance by addressing helper duplication, third-party module handling, and import optimization through transform-runtime, include patterns, and import transformation plugins.

JavaScriptTranspilationbabel
0 likes · 9 min read
Babel Optimization: Solving Bundle Size and Performance Issues
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 13, 2017 · Frontend Development

Essential JavaScript Full‑Stack Tools: From IDEs to Build & Debugging

This article surveys the essential JavaScript full‑stack development ecosystem, detailing runtime environments, popular IDEs, build automation tools, testing frameworks, performance utilities, and debugging solutions, guiding developers in selecting the right tools for efficient front‑end and back‑end development.

JavaScriptbuilddebugging
0 likes · 23 min read
Essential JavaScript Full‑Stack Tools: From IDEs to Build & Debugging
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 13, 2017 · Frontend Development

Top 10 Must‑Know ES6 Features That Transform Frontend Development

This article provides a concise overview of the ten most impactful ES6 features—including default parameters, template literals, multi‑line strings, destructuring, enhanced object literals, arrow functions, promises, block‑scoped let/const, classes, and modules—explaining their syntax, benefits, and practical usage for modern JavaScript development.

ES6 FeaturesJavaScriptModern JavaScript
0 likes · 14 min read
Top 10 Must‑Know ES6 Features That Transform Frontend Development
Hujiang Technology
Hujiang Technology
Apr 13, 2017 · Frontend Development

A Detailed Introduction to Webpack: Installation, Configuration, Loaders, Plugins, Lazy Loading and Vendor Chunks

This tutorial provides a comprehensive, step‑by‑step guide to Webpack, covering its purpose as a JavaScript module bundler, installation, command‑line usage, configuration files, Babel and Handlebars loaders, plugins such as html‑webpack‑plugin, lazy‑loading, vendor chunk creation, and best practices for modern front‑end development.

JavaScriptModule BundlingPlugins
0 likes · 26 min read
A Detailed Introduction to Webpack: Installation, Configuration, Loaders, Plugins, Lazy Loading and Vendor Chunks
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 9, 2017 · Frontend Development

Boost Mini Program Development with Essential ES6 Features

This article explains how key ES6 features—arrow functions, array methods, destructuring, enhanced object literals, classes, and block‑scoped variables—can streamline WeChat Mini Program development, improve code readability, and increase development efficiency.

Arrow FunctionsJavaScriptWeChat Mini Program
0 likes · 8 min read
Boost Mini Program Development with Essential ES6 Features
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 4, 2017 · Frontend Development

Mastering jQuery Plugin Development: From Basics to Advanced Techniques

Learn how to create, customize, and extend jQuery plugins—from basic concepts and simple color-changing examples to chainable calls, avoiding $ symbol conflicts, handling parameters, and using $.extend and $.fn.extend—while understanding the underlying prototype mechanism and best practices.

JavaScriptPlugin DevelopmentWeb Development
0 likes · 8 min read
Mastering jQuery Plugin Development: From Basics to Advanced Techniques
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 4, 2017 · Frontend Development

How to Implement Swipe‑to‑Delete in WeChat Mini Programs

This tutorial explains how to create a left‑swipe delete effect in a WeChat Mini Program list view by layering items, using absolute positioning, and handling touchstart, touchmove, and touchend events to move items and reveal action buttons based on swipe distance.

JavaScriptSwipe DeleteTouch Events
0 likes · 3 min read
How to Implement Swipe‑to‑Delete in WeChat Mini Programs
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Mar 29, 2017 · Frontend Development

Recap of Frontend Technology Salon Session 1: ES6, Webpack, and Asynchronous Programming

The article recaps the first Frontend Technology Salon, covering ES6 fundamentals, Webpack packaging, and practical ES6 asynchronous programming examples, offering detailed explanations and code demonstrations for frontend developers and highlights common pitfalls and browser compatibility issues.

JavaScriptasynchronous programminges6
0 likes · 5 min read
Recap of Frontend Technology Salon Session 1: ES6, Webpack, and Asynchronous Programming
Architecture Digest
Architecture Digest
Mar 29, 2017 · Frontend Development

Front‑End Optimization Best Practices

This article presents a comprehensive guide to front‑end performance optimization, covering reduction of HTTP requests, proper handling of repaint/reflow, minimizing DOM operations, using JSON, efficient HTML/CSS, CDN acceleration, external resource loading, minification, image compression, and cookie management.

CSSHTTPJavaScript
0 likes · 13 min read
Front‑End Optimization Best Practices
ITPUB
ITPUB
Mar 25, 2017 · Fundamentals

Why 5×3 ≠ 5+5+5: Understanding Equality vs Equivalence in Math and Code

The article explores why mathematically equal expressions like 5×3 and 5+5+5 are not necessarily equivalent, explains the distinction between equality and equivalence, illustrates with real‑world and programming examples such as JavaScript’s == versus === and matrix multiplication rules, and discusses teaching implications.

JavaScriptMatrix Multiplicationeducation
0 likes · 6 min read
Why 5×3 ≠ 5+5+5: Understanding Equality vs Equivalence in Math and Code
Meituan Technology Team
Meituan Technology Team
Mar 24, 2017 · Frontend Development

doT.js Template Engine: Source Code Analysis and Performance Optimization

The article analyzes doT.js, a compact 6 KB, dependency‑free JavaScript template engine that builds rendering functions via regex‑based code generation, avoids the costly with statement, caches compiled templates, and delivers superior performance in benchmarks compared with jQuery‑tmpl and other minimal engines, while noting its less intuitive syntax for complex conditionals.

JavaScriptTemplate EnginedoT.js
0 likes · 14 min read
doT.js Template Engine: Source Code Analysis and Performance Optimization
Hujiang Technology
Hujiang Technology
Mar 24, 2017 · Backend Development

Understanding the Startup Process of Node.js

This article explains how Node.js initializes by combining Google’s V8 engine with the libuv asynchronous I/O library, details the main function flow, event loop, thread pools, environment creation, module binding, and demonstrates exposing a C++ object to JavaScript via a native addon.

C++ addonJavaScriptNode.js
0 likes · 9 min read
Understanding the Startup Process of Node.js
Tencent Music Tech Team
Tencent Music Tech Team
Mar 24, 2017 · Game Development

Building an H5 Voice‑Controlled Game Demo with WebAudio

The article walks through creating an HTML5 remake of the Chinese “Don’t Stop! 8‑Note Sauce” game, where microphone volume drives a doge‑block character to walk and jump over dynamically generated pits, detailing configuration, barrier management, collision detection, and WebAudio voice‑control implementation using getUserMedia, AudioContext, and analyser nodes.

Game DevelopmentHTML5JavaScript
0 likes · 10 min read
Building an H5 Voice‑Controlled Game Demo with WebAudio
360 Quality & Efficiency
360 Quality & Efficiency
Mar 22, 2017 · Frontend Development

Using ajaxFileUpload jQuery Plugin for Asynchronous File Upload

This article explains how to use the ajaxFileUpload jQuery plugin for asynchronous file uploads, detailing its syntax, configuration options, integration steps with HTML, JavaScript, and Java backend code, and provides practical notes on styling and compatibility.

JavaScriptajaxFileUploadasynchronous upload
0 likes · 4 min read
Using ajaxFileUpload jQuery Plugin for Asynchronous File Upload
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 19, 2017 · Frontend Development

Mastering WePY: Complete Guide to Building Mini‑Program Apps

This article introduces the WePY framework for WeChat mini‑programs, covering its purpose, demo projects, quick‑start commands, project structure, component architecture, data binding, event communication, plugin support, and advanced configuration, providing developers with a comprehensive reference for modern mini‑program development.

Component ArchitectureJavaScriptMini Program
0 likes · 16 min read
Mastering WePY: Complete Guide to Building Mini‑Program Apps
Taobao Frontend Technology
Taobao Frontend Technology
Mar 16, 2017 · Frontend Development

Unlocking JavaScript Functional Programming: Practical Patterns and Pitfalls

JavaScript functional programming, once a niche topic, has surged in popularity since ES6, and this article explores practical implementations—showcasing functional code versus traditional approaches, benefits like clearer semantics and reusability, common models such as closures, higher‑order functions, currying, and composition, plus optimization techniques.

CurryingHigher-Order FunctionsJavaScript
0 likes · 12 min read
Unlocking JavaScript Functional Programming: Practical Patterns and Pitfalls
360 Quality & Efficiency
360 Quality & Efficiency
Mar 15, 2017 · Frontend Development

Common JavaScript Techniques for Handling JSON: Conversion, Formatting, Replacement, and Traversal

This article provides a comprehensive guide to common JavaScript techniques for working with JSON, covering object and array structures, converting between JSON strings and objects, pretty‑printing with JSON.stringify, string replacement for log processing, and methods for iterating and recursively traversing JSON data.

Data FormattingJavaScriptRecursive Traversal
0 likes · 4 min read
Common JavaScript Techniques for Handling JSON: Conversion, Formatting, Replacement, and Traversal
Taobao Frontend Technology
Taobao Frontend Technology
Mar 10, 2017 · Frontend Development

Why TypeScript Is the Secret Weapon for Large JavaScript Projects

This article introduces TypeScript as a Microsoft‑created superset of JavaScript that adds static typing, explains its type‑system fundamentals, compares it with lint tools, showcases practical code examples—including interfaces, implementations, and function overloads—and demonstrates how static analysis can catch bugs early and improve documentation for both front‑end and Node.js projects.

InterfacesJavaScriptTypeScript
0 likes · 14 min read
Why TypeScript Is the Secret Weapon for Large JavaScript Projects
Meituan Technology Team
Meituan Technology Team
Mar 9, 2017 · Frontend Development

Lego: A Component-Based Front-End Page Assembly Platform at Meituan

Lego is a component-based front-end page assembly platform at Meituan, enabling rapid low-code page building via drag‑drop components, with an Assembly Factory UI, developer SDKs, event‑based component communication, and a rendering engine that outputs HTML/FreeMarker, reducing development time and standardizing UI across projects.

Component ArchitectureFront-endJavaScript
0 likes · 17 min read
Lego: A Component-Based Front-End Page Assembly Platform at Meituan
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 4, 2017 · Frontend Development

Why JavaScript Parsing Slows Your Site and How to Speed It Up

This article examines how JavaScript parsing, compilation, and execution dominate web page startup time, presents data from V8 runtime statistics across desktop and mobile browsers, and offers practical techniques—such as code splitting, script streaming, and code caching—to dramatically reduce launch delays.

CompilationJavaScriptV8
0 likes · 15 min read
Why JavaScript Parsing Slows Your Site and How to Speed It Up
ITPUB
ITPUB
Mar 2, 2017 · Frontend Development

Build a Lightweight JavaScript Error Tracker for Small Web Projects

Learn how to create a simple, custom JavaScript error‑tracking system that logs client‑side exceptions to a server, stores them in a database, and notifies users, offering a low‑cost alternative to heavyweight services for small web projects.

Custom TrackerError HandlingJavaScript
0 likes · 5 min read
Build a Lightweight JavaScript Error Tracker for Small Web Projects
Aotu Lab
Aotu Lab
Feb 17, 2017 · Frontend Development

Master Snap.svg: From Basics to Advanced SVG Animations with Code Samples

This article provides a comprehensive guide to Snap.svg, explaining its purpose, API similarities with jQuery, core classes like Element and Paper, various animation techniques—including element and static animations, path and matrix transformations—along with compatibility tips, performance recommendations, and useful code examples.

JavaScriptMatrix transformSVG animation
0 likes · 17 min read
Master Snap.svg: From Basics to Advanced SVG Animations with Code Samples
Taobao Frontend Technology
Taobao Frontend Technology
Feb 16, 2017 · Frontend Development

Mastering API Design: Essential Principles for Clean, Usable Frontend APIs

This comprehensive guide explores the fundamentals of API design for front‑end development, covering naming conventions, lexical correctness, parameter ordering, return values, versioning, and extensibility, and provides practical code examples to help developers create intuitive, maintainable, and future‑proof interfaces.

JavaScriptapi-designbest practices
0 likes · 29 min read
Mastering API Design: Essential Principles for Clean, Usable Frontend APIs
Hujiang Technology
Hujiang Technology
Feb 10, 2017 · Mobile Development

Thinking in Redux: Migrating from MVC to React‑Native State Management

This article explains how to transition from traditional MVC architecture to Redux when building a React‑Native mobile app, detailing the analogies between actions, reducers, stores, and components, and provides step‑by‑step code examples for implementing state management in JavaScript.

JavaScriptMobile DevelopmentReact Native
0 likes · 10 min read
Thinking in Redux: Migrating from MVC to React‑Native State Management
JavaScript
JavaScript
Feb 7, 2017 · Fundamentals

Master JavaScript Stacks: Build, Use, and Apply Stack Operations

This article explains the concept of a stack as a LIFO data structure, shows how to implement a Stack class in JavaScript with essential methods like push, pop, size, empty, peek, and clear, and demonstrates practical usage through recursive and iterative factorial calculations.

Data StructureJavaScriptStack
0 likes · 4 min read
Master JavaScript Stacks: Build, Use, and Apply Stack Operations
Qunar Tech Salon
Qunar Tech Salon
Feb 6, 2017 · Frontend Development

Front‑End Performance Optimization: Best Practices and Techniques

This article presents a comprehensive guide to front‑end performance optimization, covering how to prioritize bottlenecks, use debounce/throttle, reduce DOM reflows, optimize rendering, leverage requestAnimationFrame and Web Workers, and apply efficient CSS and script loading strategies, all illustrated with practical code examples.

CSSDOMJavaScript
0 likes · 16 min read
Front‑End Performance Optimization: Best Practices and Techniques
Node Underground
Node Underground
Jan 20, 2017 · Frontend Development

Master Clean Code: JavaScript Best Practices for Readable, Maintainable Code

This article presents practical JavaScript clean‑code guidelines—including intention‑revealing naming, single‑purpose functions, pure functions, proper async handling, and linting standards—to help developers write more readable, maintainable, and error‑free code.

JavaScriptbest practicesclean code
0 likes · 11 min read
Master Clean Code: JavaScript Best Practices for Readable, Maintainable Code
JavaScript
JavaScript
Jan 15, 2017 · Frontend Development

How to Implement Efficient Image Lazy Loading with Vanilla JavaScript

This guide explains the concept of image lazy loading, how to detect when an image enters the viewport, and provides a complete vanilla‑JavaScript implementation with throttled scroll handling to improve page performance and reduce bandwidth usage.

JavaScriptfrontendimage-optimization
0 likes · 4 min read
How to Implement Efficient Image Lazy Loading with Vanilla JavaScript
JavaScript
JavaScript
Jan 12, 2017 · Mobile Development

How to Implement Responsive Touch Feedback on Mobile Web Pages

This article explains three methods to provide visual touch feedback on mobile web pages—using the :active pseudo‑class with a touchstart handler, the non‑standard -webkit‑tap‑highlight‑color property, and custom touch event listeners that add and remove an active class, plus tips for handling the 300 ms delay.

CSSJavaScripttouch feedback
0 likes · 4 min read
How to Implement Responsive Touch Feedback on Mobile Web Pages
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 8, 2017 · Frontend Development

Building a Scalable Web Interactive System with NEJ: Module Decomposition Guide

This article, the third in a series on constructing high‑scalable web interactive systems, demonstrates how to use NetEase's NEJ framework to decompose complex SPA modules, define hierarchical and dependency trees, register external and layout modules, map functionalities, and configure the entire application for scalable development and maintenance.

JavaScriptNEJSPA
0 likes · 22 min read
Building a Scalable Web Interactive System with NEJ: Module Decomposition Guide
Taobao Frontend Technology
Taobao Frontend Technology
Jan 6, 2017 · Frontend Development

How to Write Readable JavaScript Code: Naming, Branches, and Functions

This article explains why readable code matters for developers, then offers practical guidelines on naming variables and functions, structuring conditional branches, keeping functions single‑purpose, handling errors, avoiding side‑effects, and organizing class methods to improve maintainability in modern JavaScript projects.

JavaScriptbest practicescode readability
0 likes · 24 min read
How to Write Readable JavaScript Code: Naming, Branches, and Functions
Aotu Lab
Aotu Lab
Dec 30, 2016 · Frontend Development

Build a Vue 2.0 + Vuex Timer App: Step‑by‑Step Guide

This tutorial walks you through creating a simple timer application with Vue 2.0, Vue‑Router, Vuex and Webpack, highlighting the differences from Vue 1.0, showing project setup, file structure, core code snippets, and best practices for state management.

JavaScriptTutorialVue.js
0 likes · 18 min read
Build a Vue 2.0 + Vuex Timer App: Step‑by‑Step Guide
CSS Magic
CSS Magic
Dec 19, 2016 · Frontend Development

Quick Q&A #5: CSS Backgrounds, Animation Compatibility, and Front‑End Career Tips

In this fifth Quick Q&A episode, the author answers several front‑end questions covering how to make a background image adapt to a container, CSS animation compatibility across browsers, clearfix techniques, learning resources for JavaScript, choosing a Vue.js framework, and practical career advice for aspiring developers.

CSSJavaScriptVue.js
0 likes · 8 min read
Quick Q&A #5: CSS Backgrounds, Animation Compatibility, and Front‑End Career Tips

Global Popular Programming Languages: Insights from TIOBE, PYPL, StackOverflow, GitHub, and More

Based on data from TIOBE, PYPL, StackOverflow, GitHub, Indeed, Glassdoor and other sources, this article examines which programming languages are most popular worldwide and most in demand by industry, highlighting trends such as Java’s dominance, the rise of Python, JavaScript’s prevalence, and emerging languages for 2017.

JavaScriptPYPLPython
0 likes · 9 min read
Global Popular Programming Languages: Insights from TIOBE, PYPL, StackOverflow, GitHub, and More
Aotu Lab
Aotu Lab
Dec 9, 2016 · Frontend Development

How a 1 KB JavaScript Demo Creates a 3D Fire‑Extinguishing Game

This article dissects a 1 KB js1k competition entry that builds a 3‑D forest‑fire game using only built‑in canvas variables, explaining the competition rules, the demo’s gameplay, the compact object‑creation logic, the clever key‑state handling, and the full event‑loop rendering pipeline.

3DCanvasJavaScript
0 likes · 16 min read
How a 1 KB JavaScript Demo Creates a 3D Fire‑Extinguishing Game
Aotu Lab
Aotu Lab
Dec 6, 2016 · Fundamentals

Master JavaScript Regular Expressions: From Basics to Advanced Patterns

This comprehensive guide explains what regular expressions are, their practical uses in data validation and string manipulation, the syntax of literals and constructors, key String and RegExp methods, character classes, quantifiers, anchors, groups, assertions, flags, and the behavior of JavaScript's NFA engine, all illustrated with clear code examples.

JavaScriptNFA EngineString Methods
0 likes · 15 min read
Master JavaScript Regular Expressions: From Basics to Advanced Patterns
Tencent Music Tech Team
Tencent Music Tech Team
Dec 2, 2016 · Frontend Development

Introduction to Web Audio API: Concepts, Nodes, and Application Cases

The Web Audio API is a high‑level JavaScript interface that lets developers create and connect modular AudioNodes within an AudioContext to process, filter, visualise, and spatialise sound, supporting sources such as media elements, streams, and buffers, and enabling real‑time recording, clipping, and karaoke applications.

Audio VisualizationJavaScriptWeb Audio API
0 likes · 12 min read
Introduction to Web Audio API: Concepts, Nodes, and Application Cases
CSS Magic
CSS Magic
Nov 25, 2016 · Frontend Development

2013 Frontend Interview Quiz: Full Questions and Answers

This article presents a 20‑question front‑end interview test compiled in 2013, covering HTML, CSS, JavaScript, HTTP and related topics, with scoring guidelines, answer intentions, solution outlines and reference answers to help assess candidates quickly.

CSSHTMLJavaScript
0 likes · 14 min read
2013 Frontend Interview Quiz: Full Questions and Answers
Hujiang Technology
Hujiang Technology
Nov 21, 2016 · Frontend Development

Introduction to Vue.js: Core Concepts, Comparison with React, and Hands‑On Project Walkthrough

This article introduces Vue.js fundamentals, compares its similarities and differences with React, demonstrates a sample project structure with component examples, and guides readers on obtaining the demo repository and exploring Vue 2.0 enhancements, providing a practical hands‑on overview for front‑end developers.

JavaScriptReact ComparisonVue 2.0
0 likes · 5 min read
Introduction to Vue.js: Core Concepts, Comparison with React, and Hands‑On Project Walkthrough
Hujiang Technology
Hujiang Technology
Nov 14, 2016 · Frontend Development

When Not to Use Arrow Functions in JavaScript

This article explains the pitfalls of JavaScript arrow functions, showing when they break object methods, event callbacks, and constructors, and offers clear examples and corrected code to help developers choose between arrow functions and traditional function expressions.

Arrow FunctionsJavaScriptes6
0 likes · 7 min read
When Not to Use Arrow Functions in JavaScript
Tencent TDS Service
Tencent TDS Service
Nov 4, 2016 · Frontend Development

Mastering WeChat Mini Programs: From Architecture to Real-World Development

This comprehensive guide explains what WeChat Mini Programs are, their underlying framework, supported components and APIs, development workflow, modular design patterns, differences from traditional H5 apps, debugging, building, publishing, and practical advantages and limitations for mobile front‑end developers.

JavaScriptMobile UITutorial
0 likes · 13 min read
Mastering WeChat Mini Programs: From Architecture to Real-World Development
Taobao Frontend Technology
Taobao Frontend Technology
Nov 3, 2016 · Frontend Development

Unlock ES6: Master Advanced Modules, Symbols, and Async Patterns

This article delves into ES6’s advanced features—including dynamic module loading, Symbol usage, iterators, Maps, Sets, Weak collections, Promises, async‑await, generators, and meta‑programming tools like Proxy and Reflect—providing concise explanations, code snippets, and practical guidance for modern JavaScript development.

GeneratorsJavaScriptProxy
0 likes · 20 min read
Unlock ES6: Master Advanced Modules, Symbols, and Async Patterns
Aotu Lab
Aotu Lab
Oct 28, 2016 · Frontend Development

Mastering JavaScript Decorators: From Python Concepts to ES6 Implementation

This article explains how decorators—originally popularized in Python—can be applied in JavaScript ES6, covering their syntax, class and property use cases, underlying mechanics with Object.defineProperty, and practical Babel transpilation steps.

JavaScriptPythondecorators
0 likes · 10 min read
Mastering JavaScript Decorators: From Python Concepts to ES6 Implementation
Aotu Lab
Aotu Lab
Oct 19, 2016 · Frontend Development

Explore VR History and Build WebVR Scenes with A-Frame

This article traces the origins of virtual reality from early concepts and devices to modern headsets, then introduces the A-Frame web framework and provides a step‑by‑step tutorial with code examples for creating VR scenes, animations, and interactions in the browser.

3DA-FrameJavaScript
0 likes · 15 min read
Explore VR History and Build WebVR Scenes with A-Frame
Architecture Digest
Architecture Digest
Oct 16, 2016 · Frontend Development

Building a DouBan Book Search Mini Program with WeChat Mini Program

This article walks through creating a simple WeChat Mini Program that searches and displays DouBan book information, covering API usage, project setup, page design, event handling, network requests, pagination, and code organization with practical code examples.

Douban APIJavaScriptTutorial
0 likes · 8 min read
Building a DouBan Book Search Mini Program with WeChat Mini Program
CSS Magic
CSS Magic
Oct 13, 2016 · Frontend Development

Yarn Explained: Facebook’s Faster, Safer JavaScript Package Manager

The article details how Facebook built Yarn to overcome npm’s consistency, security, and speed limitations, describing the evolution of their package‑management workflow, Yarn’s lockfile architecture, parallel installation process, additional features, production adoption, and simple commands to get started.

JavaScriptYARNfrontend
0 likes · 13 min read
Yarn Explained: Facebook’s Faster, Safer JavaScript Package Manager
Aotu Lab
Aotu Lab
Oct 10, 2016 · Frontend Development

How to Implement 3D Touch Interactions in Safari 10 with JavaScript

This guide explains the evolution of Apple’s Force Touch to 3D Touch, lists supported iPhone models, describes Quick Actions and Peek‑and‑Pop interactions, and provides step‑by‑step code for detecting touch pressure in Safari 10 using Touch.force and the touchforcechange event.

3D TouchJavaScriptSafari
0 likes · 9 min read
How to Implement 3D Touch Interactions in Safari 10 with JavaScript
WeChatFE
WeChatFE
Oct 9, 2016 · Frontend Development

Mastering JavaScript Function Composition: From Simple to Multi-Function Compose

This article explains how to build and use compose functions in JavaScript—including two‑argument, variadic, and prototype‑based versions—demonstrates practical examples, and highlights the benefits of pure functions and functional composition for modular, testable frontend code.

CurryingJavaScriptPure Functions
0 likes · 5 min read
Mastering JavaScript Function Composition: From Simple to Multi-Function Compose
JavaScript
JavaScript
Oct 5, 2016 · Frontend Development

Mastering JavaScript Timers: setTimeout, setInterval, and Their Pitfalls

Learn how JavaScript’s setTimeout and setInterval functions work, see practical code examples, understand their timing inaccuracies and common pitfalls, and discover how recursive setTimeout can provide more reliable scheduling by avoiding overlapping executions.

AsynchronousJavaScriptTimers
0 likes · 4 min read
Mastering JavaScript Timers: setTimeout, setInterval, and Their Pitfalls
JavaScript
JavaScript
Oct 2, 2016 · Frontend Development

Essential JavaScript DOM API Cheat Sheet: From Element Selection to Ajax

This article provides a comprehensive, English‑language reference of common JavaScript DOM APIs—including element selection, class manipulation, node operations, attribute handling, content updates, CSS styling, size calculations, event binding, DOM ready detection, context binding, whitespace trimming, Ajax requests, JSON parsing, and node traversal—complete with code examples for each feature.

DOMJavaScriptWeb Development
0 likes · 11 min read
Essential JavaScript DOM API Cheat Sheet: From Element Selection to Ajax
Taobao Frontend Technology
Taobao Frontend Technology
Sep 29, 2016 · Frontend Development

Mastering Babel Plugins: From AST Basics to Custom Transformations

This article explains how Babel parses ES6 code into an AST, traverses and modifies nodes using visitors and paths, and demonstrates a practical plugin that replaces a custom abs function with Math.abs, providing a solid foundation for building advanced JavaScript transformations.

ASTJavaScriptPlugin Development
0 likes · 9 min read
Mastering Babel Plugins: From AST Basics to Custom Transformations
Java High-Performance Architecture
Java High-Performance Architecture
Sep 28, 2016 · Frontend Development

Master the Architecture of WeChat Mini Programs: A Quick Guide

This article provides a concise overview of WeChat Mini Program development, detailing the project’s directory structure, file types (js, wxml, wxss, json), core logic layer, data binding, API usage, modularization, and view components with practical code examples to help newcomers quickly grasp the overall design.

JavaScriptMiniProgramWXML
0 likes · 7 min read
Master the Architecture of WeChat Mini Programs: A Quick Guide
Node Underground
Node Underground
Sep 28, 2016 · Backend Development

What’s Next for Node.js? Inside the Upcoming v7 Roadmap and Features

The article reviews the Node.js Interactive Europe presentation, outlining Node.js v7’s planned V8 upgrade, new language features like async/await, a beta release strategy, ecosystem stability tools, web standard adoption, IoT suitability, VM neutrality, and community inclusivity initiatives.

IoTJavaScriptNode.js
0 likes · 6 min read
What’s Next for Node.js? Inside the Upcoming v7 Roadmap and Features
Node Underground
Node Underground
Sep 26, 2016 · Frontend Development

What’s New in TypeScript 2.0? Key Features You Need to Know

Microsoft released TypeScript 2.0 on the 22nd of this month, introducing non‑nullable types, control‑flow based type analysis, simpler module declarations, and read‑only properties, while also integrating ES2015 features, modules, decorators, and tighter Angular collaboration, and can be installed via npm.

JavaScriptTypeScriptfrontend
0 likes · 2 min read
What’s New in TypeScript 2.0? Key Features You Need to Know
CSS Magic
CSS Magic
Sep 25, 2016 · Frontend Development

Front‑End Q&A: Class Naming, Checkbox Labels, Build Tools, Learning Resources

This article answers common front‑end questions, covering clear class‑naming practices, how to associate labels with form controls, why Gulp and Webpack are preferred over FIS, recommended JavaScript and mobile‑web books, CSS framework trade‑offs, and career advice for beginners.

CSSHTMLJavaScript
0 likes · 9 min read
Front‑End Q&A: Class Naming, Checkbox Labels, Build Tools, Learning Resources
Node Underground
Node Underground
Sep 14, 2016 · Backend Development

Add Vibrant Colors to Your Node CLI Tools with ANSI Escape Codes

Learn how to use ANSI escape codes in Node.js to transform dull black‑and‑white terminal output into colorful, readable command‑line interfaces, with simple examples like printing red text, enabling developers to create more engaging CLI tools.

ANSI escape codesCLIJavaScript
0 likes · 1 min read
Add Vibrant Colors to Your Node CLI Tools with ANSI Escape Codes
Tencent Music Tech Team
Tencent Music Tech Team
Sep 14, 2016 · Frontend Development

Introduction to Electron: Building Cross‑Platform Desktop Applications with JavaScript

This tutorial introduces Electron, the Chromium‑Node.js framework for building cross‑platform desktop apps with HTML, CSS and JavaScript, walks through a simple “Hello World” project, explains its main and renderer processes, key modules such as IPC, remote and webview, and shows how to package the app for Windows and macOS.

Desktop ApplicationElectronIPC
0 likes · 11 min read
Introduction to Electron: Building Cross‑Platform Desktop Applications with JavaScript
Node Underground
Node Underground
Sep 7, 2016 · Fundamentals

3 Proven Bluebird Promise Performance Hacks Every JavaScript Developer Should Know

This article highlights three of the most valuable performance optimization techniques used in the widely adopted Bluebird Promise library—minimizing function object allocation, reducing object size, and employing lazy‑overwritten no‑op functions—to help developers write faster, more efficient JavaScript code.

BluebirdJavaScriptPromise
0 likes · 2 min read
3 Proven Bluebird Promise Performance Hacks Every JavaScript Developer Should Know
Tencent TDS Service
Tencent TDS Service
Sep 1, 2016 · Frontend Development

Unlock WebVR: Build Immersive VR Experiences Directly in the Browser

This article introduces WebVR, an experimental JavaScript API that enables VR experiences on the web, walks through setting up a three.js‑based boilerplate, explains key files like VRControls.js, VREffect.js, and webvr‑polyfill.js, and shows how to create a simple rotating cube demo for mobile cardboard viewers.

JavaScriptThree.jsVR
0 likes · 9 min read
Unlock WebVR: Build Immersive VR Experiences Directly in the Browser
Aotu Lab
Aotu Lab
Sep 1, 2016 · Frontend Development

Master SeaJS: Complete CMD Module Guide and Compare with RequireJS

This article provides a comprehensive guide to SeaJS, covering its CMD‑based module definition, the define syntax, factory parameters, module identifiers, startup process, debugging tools, loading flow, and key differences from RequireJS, with practical code examples and reference links.

JavaScriptRequireJSSeaJS
0 likes · 13 min read
Master SeaJS: Complete CMD Module Guide and Compare with RequireJS
Node Underground
Node Underground
Aug 30, 2016 · Backend Development

Avoid Common Node.js Pitfalls: DecodeURIComponent, Promises, and HTTP Errors

This article shares real‑world Node.js pitfalls—from unsafe decodeURIComponent usage and hidden Promise errors to unhandled HTTP request failures—explaining why they occur and providing practical code‑level solutions such as try‑catch wrappers and proper error event handling to keep applications stable.

BackendError HandlingHTTP
0 likes · 4 min read
Avoid Common Node.js Pitfalls: DecodeURIComponent, Promises, and HTTP Errors
Node Underground
Node Underground
Aug 22, 2016 · Frontend Development

Mastering ES2015 Arrow Functions: Simplify Your JavaScript Code

This article introduces ES2015 arrow functions, showing their concise syntax, how they differ from traditional function expressions, the implicit handling of the this context, and practical examples that eliminate the need for manual this binding, helping developers write cleaner JavaScript.

Arrow FunctionsES2015JavaScript
0 likes · 2 min read
Mastering ES2015 Arrow Functions: Simplify Your JavaScript Code
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 11, 2016 · Frontend Development

Master JavaScript Test Cases: TDD, BDD, Mocha, Should, Nock, Istanbul

This guide explains why test cases are essential, compares TDD and BDD agile approaches, and introduces key frontend testing tools—including Mocha for test suites, Should for assertions, Nock for HTTP mocking, and Istanbul for coverage—while providing code examples and best‑practice recommendations for writing maintainable, high‑quality tests.

BDDJavaScriptTDD
0 likes · 8 min read
Master JavaScript Test Cases: TDD, BDD, Mocha, Should, Nock, Istanbul