Tagged articles

JavaScript

2473 articles · Page 24 of 25
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.

JavaScriptVue.jsVuex
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.

JavaJavaScriptProgramming Languages
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 EnginePattern Matching
0 likes · 15 min read
Master JavaScript Regular Expressions: From Basics to Advanced Patterns
Java High-Performance Architecture
Java High-Performance Architecture
Dec 3, 2016 · Frontend Development

Top JavaScript Libraries, Module Bundlers, and Tooling Trends Explained

Based on a recent survey, the most widely used JavaScript libraries like jQuery, React, and lodash dominate front‑end development, while emerging frameworks such as Vue.js gain attention; module bundlers, linting tools, unit testing frameworks, and CSS processors show growing adoption and shifting popularity trends.

CSSJavaScriptLibraries
0 likes · 5 min read
Top JavaScript Libraries, Module Bundlers, and Tooling Trends Explained
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.

CSSHTMLInterview
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 UIWXML
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.

Async/AwaitJavaScriptes6
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 APIJavaScriptWeChat mini program
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
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.

Build ToolsCSSHTML
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.

BluebirdJavaScriptOptimization
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.

JavaScriptNode.jsbackend
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
Aotu Lab
Aotu Lab
Aug 10, 2016 · Backend Development

Master Node.js CLI Development with Commander, Inquirer, and Chalk

This guide walks you through setting up a Node.js project and using the commander, inquirer, and chalk packages to build, configure, and style powerful command‑line tools, including global installation, custom help, interactive prompts, and colored output.

CLICommand LineCommander
0 likes · 12 min read
Master Node.js CLI Development with Commander, Inquirer, and Chalk
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 5, 2016 · Frontend Development

Mastering JavaScript Promises: Common Pitfalls and Best Practices

This article explains the fundamentals of JavaScript Promises, illustrates typical mistakes such as callback pyramids and missing returns, and demonstrates proper usage of chaining, Promise.all, resolve variations, error handling with catch, and state propagation to write clean, maintainable asynchronous code.

AsynchronousCodingJavaScript
0 likes · 23 min read
Mastering JavaScript Promises: Common Pitfalls and Best Practices
WeChatFE
WeChatFE
Jul 29, 2016 · Fundamentals

Master JavaScript Currying: Boost Code Quality with Functional Design

This article explains what currying is, its advantages, and provides a generic JavaScript currying function, demonstrating how to transform multi‑parameter functions into single‑parameter chains to improve code reuse, enable lazy evaluation, and enhance overall code quality in functional programming.

Functional ProgrammingJavaScriptcode reuse
0 likes · 10 min read
Master JavaScript Currying: Boost Code Quality with Functional Design
Tencent Music Tech Team
Tencent Music Tech Team
Jul 29, 2016 · Frontend Development

Advanced Webpack Configuration Techniques and Tips

The article presents advanced Webpack configuration strategies—including programmatic Node‑API builds, streamlined loader setups, global module injection and environment definitions, commons chunk extraction, DLL bundling, on‑demand code splitting, UglifyJS minification, and server‑side bundling—to help developers efficiently manage complex projects.

Build ToolsCode SplittingConfiguration
0 likes · 12 min read
Advanced Webpack Configuration Techniques and Tips
ITPUB
ITPUB
Jul 8, 2016 · Frontend Development

Spice Up Your Report Pages with a Live Weather Widget in Three Simple Steps

This short tutorial explains how to enhance boring report pages by embedding a free weather forecast widget using an iframe and JavaScript, covering provider selection, code insertion, and integration with FineReport, plus tips for sizing and transparency.

FineReportJavaScriptfrontend
0 likes · 3 min read
Spice Up Your Report Pages with a Live Weather Widget in Three Simple Steps
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 5, 2016 · Frontend Development

Master JavaScript Function Throttling: Boost Performance & Prevent Overloads

This article explains what JavaScript function throttling is, why it improves performance for high‑frequency events like scroll or resize, and provides step‑by‑step code examples—including basic and advanced implementations—to control execution timing and avoid excessive DOM or network calls.

JavaScriptPerformance Optimizationevent handling
0 likes · 5 min read
Master JavaScript Function Throttling: Boost Performance & Prevent Overloads
Architecture Digest
Architecture Digest
Jun 26, 2016 · Frontend Development

Common Front-End Interview Questions on HTML, CSS, and JavaScript

The article presents a curated list of front‑end interview questions spanning HTML, CSS, JavaScript, and related topics, offering concise prompts on standards, browser behavior, performance, security, and development practices for candidates and interviewers alike.

CSSHTMLJavaScript
0 likes · 22 min read
Common Front-End Interview Questions on HTML, CSS, and JavaScript
CSS Magic
CSS Magic
Jun 21, 2016 · Frontend Development

The Definitive Gulp 4 Beginner’s Guide (Translation)

This comprehensive guide introduces Gulp 4, compares it with Grunt, explains its Node.js requirements, walks through installing the development version, details the core API and common plugins, and provides complete example gulpfile scripts for tasks such as building, watching, live‑reloading, and serving static files.

AutomationBuild ToolsJavaScript
0 likes · 28 min read
The Definitive Gulp 4 Beginner’s Guide (Translation)
MaGe Linux Operations
MaGe Linux Operations
Jun 15, 2016 · Fundamentals

Understanding HTTP Cookies: Origins, Creation, and Best Practices

This article explains what HTTP cookies are, their historical origin, how they are created and managed via Set-Cookie headers, the meaning of options like expires, domain, path, and secure, as well as JavaScript handling, subcookies, HTTP‑Only flags, and common limitations.

JavaScriptWebcookies
0 likes · 17 min read
Understanding HTTP Cookies: Origins, Creation, and Best Practices
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
May 28, 2016 · Backend Development

Extract All @Mentions from a Zhihu Page with Simple Scripts

This guide shows how to collect every @mentioned user on a Zhihu question page by using a JavaScript bookmarklet or a Python script, explains the extraction process, provides the necessary code snippets, and discusses why following programmers on Zhihu may not be the most effective learning method.

JavaScriptPythonWeb Scraping
0 likes · 6 min read
Extract All @Mentions from a Zhihu Page with Simple Scripts
Aotu Lab
Aotu Lab
May 20, 2016 · Frontend Development

How to Create Frame‑by‑Frame Animations with CSS3, JavaScript, and GIF

Frame‑by‑frame animation, also known as sprite animation, can be implemented on the web using three main techniques—GIF, JavaScript, and CSS3 animation—each with its own workflow, advantages, and limitations, and the article walks through practical examples, code snippets, and tips for optimal performance.

GIFJavaScriptframe-by-frame animation
0 likes · 8 min read
How to Create Frame‑by‑Frame Animations with CSS3, JavaScript, and GIF
Tencent Music Tech Team
Tencent Music Tech Team
May 12, 2016 · Mobile Development

Mastering JsBridge: Connecting JavaScript and Java in Android Apps

This article explains how Android hybrid apps enable JavaScript‑Java communication, compares four JS‑to‑Java methods, shows the single Java‑to‑JS approach, and provides a detailed walkthrough of the open‑source JsBridge library with code samples and workflow diagrams.

AndroidHybridAppJSBridge
0 likes · 11 min read
Mastering JsBridge: Connecting JavaScript and Java in Android Apps
21CTO
21CTO
May 7, 2016 · Frontend Development

Choosing the Right Front-End Framework: Trends, Comparisons & Future Outlook

This article reviews recent advances in front‑end development, compares popular frameworks such as AngularJS, EmberJS, ReactJS and VueJS, examines their evolution, discusses user and developer needs, and offers guidance on which technologies to invest in for the coming years.

AngularFrameworksJavaScript
0 likes · 12 min read
Choosing the Right Front-End Framework: Trends, Comparisons & Future Outlook
Aotu Lab
Aotu Lab
Apr 29, 2016 · Frontend Development

Mastering JavaScript’s reduce(): From Basics to Advanced Use Cases

This article explains the ES5 Array.prototype.reduce() method, compares it with forEach and map, details its syntax and parameters, provides step‑by‑step code examples—including handling of initial values and object arrays—and notes browser compatibility and library alternatives.

ArrayJavaScriptforeach
0 likes · 7 min read
Mastering JavaScript’s reduce(): From Basics to Advanced Use Cases
Aotu Lab
Aotu Lab
Apr 29, 2016 · Backend Development

How to Manually Build multipart/form-data Requests in JavaScript and Node.js

This guide explains the different form enctype types, dissects a multipart/form-data example, outlines the encoding rules, and provides step‑by‑step JavaScript and Node.js code for manually constructing and sending such requests, including handling of text fields and binary files.

FormDataJavaScriptNode.js
0 likes · 10 min read
How to Manually Build multipart/form-data Requests in JavaScript and Node.js
WeChatFE
WeChatFE
Apr 28, 2016 · Frontend Development

How to Use vConsole for Real-Time Mobile Web Debugging

This guide explains how to integrate the vConsole front‑end debugging panel into mobile web pages, showing how to view colored console logs, access system information, and conditionally load the tool for development environments.

JavaScriptfront-end loggingmobile debugging
0 likes · 6 min read
How to Use vConsole for Real-Time Mobile Web Debugging
WeChatFE
WeChatFE
Apr 25, 2016 · Frontend Development

Mastering UglifyJS: Advanced While, Conditional, Block, and IF Optimizations

This article continues the deep dive into UglifyJS compression, presenting advanced techniques for optimizing while loops, ternary conditional expressions, statement blocks, and IF branches, including rules for removing dead code, merging statements, and transforming structures to achieve maximal size reduction in JavaScript output.

JavaScriptUglifyJScode compression
0 likes · 7 min read
Mastering UglifyJS: Advanced While, Conditional, Block, and IF Optimizations
Qunar Tech Salon
Qunar Tech Salon
Apr 20, 2016 · Frontend Development

A Day in the Life of a Developer: Debugging IE7 JavaScript Issues

This article chronicles a developer’s detailed workday, documenting the discovery, analysis, and resolution of numerous JavaScript bugs in IE7, the communication with teammates, and the systematic debugging process that ultimately led to fixing a critical comma‑induced error in the code.

DebuggingIE7JavaScript
0 likes · 11 min read
A Day in the Life of a Developer: Debugging IE7 JavaScript Issues
21CTO
21CTO
Apr 19, 2016 · Backend Development

Build Your Own Template Engine in Python and JavaScript – A Step‑by‑Step Guide

This article walks through the fundamentals of creating a tiny template engine, explaining how templates are split into text, variables and blocks, how delimiters are parsed, how an abstract syntax tree is built, and how both Python and JavaScript can render the template using eval or Function constructors.

ASTEvalJavaScript
0 likes · 8 min read
Build Your Own Template Engine in Python and JavaScript – A Step‑by‑Step Guide
21CTO
21CTO
Apr 16, 2016 · Frontend Development

Front-End Best Practices: HTML5 Doctype, Semantic Markup & JS Performance

This guide covers essential front‑end techniques—from using the HTML5 DOCTYPE and semantic markup to proper heading hierarchy, table usage, image alt text, microformats, jQuery UI, JavaScript style rules, loop optimizations, GUID generation, and feature detection with Modernizr—helping developers write cleaner, faster, and more accessible web code.

HTML5JavaScriptaccessibility
0 likes · 21 min read
Front-End Best Practices: HTML5 Doctype, Semantic Markup & JS Performance
Architecture Digest
Architecture Digest
Apr 16, 2016 · Frontend Development

Front‑End Development Guidelines: HTML5 Doctype, Semantic Markup, Accessibility, and JavaScript Best Practices

This article provides comprehensive front‑end development guidelines covering the proper HTML5 DOCTYPE, semantic markup, alt text, table usage, microformats, jQuery UI, consistent JavaScript style, performance optimizations, unique ID generation, feature detection, and readable code conventions.

HTMLJavaScriptaccessibility
0 likes · 19 min read
Front‑End Development Guidelines: HTML5 Doctype, Semantic Markup, Accessibility, and JavaScript Best Practices
21CTO
21CTO
Apr 16, 2016 · Frontend Development

Master JavaScript Closures in Minutes: Simple Demo and Real-World Uses

This article demystifies JavaScript closures by presenting a minimal demo, explaining how closures differ from regular functions, illustrating their role in memory management, and showcasing advanced patterns like immediately‑invoked function expressions for practical module creation.

ConceptJavaScriptclosure
0 likes · 7 min read
Master JavaScript Closures in Minutes: Simple Demo and Real-World Uses
Aotu Lab
Aotu Lab
Apr 15, 2016 · Backend Development

Master Excel File Handling in Node.js with js-xlsx and excel-export

This guide compares popular Node.js npm packages for Excel file handling, recommends using js‑xlsx for parsing and excel‑export for generation, and provides detailed installation steps, core concepts, code examples, and a complete workflow for reading, converting to JSON, and writing Excel files on both server and browser environments.

ExcelExcel exportJavaScript
0 likes · 13 min read
Master Excel File Handling in Node.js with js-xlsx and excel-export
Aotu Lab
Aotu Lab
Apr 15, 2016 · Frontend Development

Master Clean JavaScript: Coding Style, Variables, Error Handling, and Design Patterns

This article provides a comprehensive guide to writing maintainable JavaScript, covering coding conventions, variable best practices, error handling techniques, object creation methods, prototype and module patterns, and practical examples to help developers build clean, modular, and loosely‑coupled code.

Design PatternsJavaScriptObject Creation
0 likes · 16 min read
Master Clean JavaScript: Coding Style, Variables, Error Handling, and Design Patterns
Tencent TDS Service
Tencent TDS Service
Apr 14, 2016 · Frontend Development

Build a Simple Canvas Particle Engine from Scratch

This tutorial walks you through creating a lightweight Canvas particle engine—including world, launcher, and grain components, physics forces, rendering loop, and core JavaScript modules—so you can experiment with interactive particle effects in web projects.

CanvasJavaScriptParticle Engine
0 likes · 12 min read
Build a Simple Canvas Particle Engine from Scratch
Java High-Performance Architecture
Java High-Performance Architecture
Mar 23, 2016 · Frontend Development

Boost Your JavaScript with ES6: Templates, Multiline Strings, Defaults, and Destructuring

This article introduces practical ES6 features such as template literals, multiline strings, default parameters, and destructuring assignment, demonstrates how they simplify code compared to ES5, and provides a step‑by‑step guide to using Babel with Gulp for seamless ES6‑to‑ES5 conversion.

BabelJavaScriptTemplate literals
0 likes · 4 min read
Boost Your JavaScript with ES6: Templates, Multiline Strings, Defaults, and Destructuring