Tagged articles
2421 articles
Page 17 of 25
Baidu App Technology
Baidu App Technology
Feb 4, 2021 · Frontend Development

Mastering Hot Module Replacement in San: Inside san-hot-loader

This article explains how to enable and configure Hot Module Replacement for the San framework using san-hot-loader, covering both San CLI and manual Webpack setups, the underlying HMR workflow, module detection logic, and the core code that injects runtime updates for components and stores.

Hot Module ReplacementJavaScriptSAN
0 likes · 21 min read
Mastering Hot Module Replacement in San: Inside san-hot-loader
JavaScript
JavaScript
Feb 4, 2021 · Frontend Development

13 Essential JavaScript Code Optimizations to Write Cleaner, Faster Code

This article presents thirteen practical JavaScript optimization techniques—including concise conditional checks, streamlined if‑else statements, combined variable declarations, destructuring assignments, logical‑AND shortcuts, arrow functions, ternary calls, object‑based switches, default parameters, spread operators, template literals, and object shorthand—to help developers write cleaner, more efficient code.

Code OptimizationJavaScriptfrontend
0 likes · 5 min read
13 Essential JavaScript Code Optimizations to Write Cleaner, Faster Code
JavaScript
JavaScript
Feb 3, 2021 · Frontend Development

Discover Three Underrated JavaScript Frameworks You Should Try

This article introduces three lesser‑known JavaScript frameworks—Svelte, Ember, and Preact—explaining their unique compilation approach, MVC architecture, and lightweight React‑compatible API, while providing code examples to help developers evaluate them as viable alternatives.

EmberJavaScriptPreact
0 likes · 3 min read
Discover Three Underrated JavaScript Frameworks You Should Try
Aotu Lab
Aotu Lab
Feb 2, 2021 · Frontend Development

How EOS-JS Revolutionizes Frontend Code Quality with AST‑Based Scanning

This article examines the challenges of enforcing JavaScript coding standards in large‑scale frontend projects and presents EOS-JS, an AST‑driven static analysis tool that offers modular scanning, automatic fixes, multi‑scenario rule sets, seamless CI integration, and visualized data reporting to improve code quality and maintainability.

ASTEOS-JSJavaScript
0 likes · 12 min read
How EOS-JS Revolutionizes Frontend Code Quality with AST‑Based Scanning
JD Cloud Developers
JD Cloud Developers
Feb 1, 2021 · Frontend Development

How EOS-JS Revolutionizes JavaScript Code Quality with AST‑Based Scanning

This article explains how EOS‑JS, a plugin‑based static analysis tool, uses AST pattern matching to enforce JavaScript coding standards across large front‑end teams, offering automatic fixes, multi‑scenario rule sets, seamless integration, and visualized data statistics to improve code quality and maintenance efficiency.

ASTEOS-JSJavaScript
0 likes · 11 min read
How EOS-JS Revolutionizes JavaScript Code Quality with AST‑Based Scanning
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 1, 2021 · Frontend Development

Mastering WebRTC: From Camera Capture to Screen Sharing in the Browser

This article explains WebRTC fundamentals, covering camera and microphone basics, frame rate and resolution, tracks and streams, the getUserMedia API with constraints and error handling, device enumeration, MediaRecorder for client‑side recording, and screen sharing via getDisplayMedia, all illustrated with practical JavaScript code examples.

JavaScriptMediaRecorderScreen Sharing
0 likes · 13 min read
Mastering WebRTC: From Camera Capture to Screen Sharing in the Browser
Liangxu Linux
Liangxu Linux
Jan 31, 2021 · Game Development

How to Tweak the “Big Watermelon” Cocos Game: Source Files and Score Hacks

This guide walks you through the core source files of the popular “Big Watermelon” Cocos game, explains its simple click‑collision‑score‑display flow, and shows concrete code snippets for altering the scoring logic or other gameplay tweaks, while hinting at algorithmic optimization.

CocosGame DevelopmentJavaScript
0 likes · 4 min read
How to Tweak the “Big Watermelon” Cocos Game: Source Files and Score Hacks
37 Mobile Game Tech Team
37 Mobile Game Tech Team
Jan 29, 2021 · Frontend Development

Why Rollup Beats Webpack for Building a Simple JS Library

This article compares Webpack and Rollup, explains why Rollup’s tree‑shaking and ES6 module support make it better for a lightweight JavaScript utility library, and provides a step‑by‑step guide to set up the project with TypeScript, ESLint, Prettier, Husky, Commitlint and Jest testing.

ESLintJavaScriptJest
0 likes · 14 min read
Why Rollup Beats Webpack for Building a Simple JS Library
政采云技术
政采云技术
Jan 26, 2021 · Frontend Development

Writing High-Quality Maintainable Code: Elegant Naming

This article explains why clear, meaningful naming is essential for maintainable front‑end code, showcases common bad naming patterns, and provides practical naming rules, conventions, tooling tips, and examples for JavaScript, CSS, and project structures.

JavaScriptbest-practicescode-quality
0 likes · 11 min read
Writing High-Quality Maintainable Code: Elegant Naming
ByteFE
ByteFE
Jan 26, 2021 · Frontend Development

A Comprehensive Guide to JavaScript Type Checking: Methods, Limitations, and Best Practices

This comprehensive guide examines JavaScript type-checking mechanisms such as typeof, instanceof, constructor, Array.isArray, and Object.prototype.toString, detailing their underlying principles, cross-realm limitations, prototype chain behaviors, and optimal implementation strategies for reliable frontend development.

Cross-RealmJavaScriptObject Prototype
0 likes · 10 min read
A Comprehensive Guide to JavaScript Type Checking: Methods, Limitations, and Best Practices
Open Source Tech Hub
Open Source Tech Hub
Jan 23, 2021 · Frontend Development

Mastering Real‑Time Chat in WeChat Mini‑Programs with WebSocket

This guide explains how to use WebSocket in a WeChat Mini‑Program to implement real‑time features such as live‑room comments, user join/leave events, likes, follows, and product shelf updates, covering protocol basics, handshake details, API usage, example code, heartbeat monitoring, and automatic reconnection strategies.

HeartbeatJavaScriptWeChat Mini Program
0 likes · 14 min read
Mastering Real‑Time Chat in WeChat Mini‑Programs with WebSocket
Taobao Frontend Technology
Taobao Frontend Technology
Jan 22, 2021 · Frontend Development

What 2020’s State of JavaScript Reveals About Syntax, Frameworks, and Tools

2020’s State of JavaScript survey, covering 137 countries and nearly 24,000 developers, highlights which language features, browser APIs, frameworks, and tooling have gained traction or lagged behind, offering insights into current front‑end trends such as the rise of TypeScript, Svelte, esbuild, and the modest adoption of WebAssembly.

JavaScriptSvelteWeb APIs
0 likes · 13 min read
What 2020’s State of JavaScript Reveals About Syntax, Frameworks, and Tools
php Courses
php Courses
Jan 19, 2021 · Mobile Development

Implementing Clipboard Functionality in WeChat Mini Programs

This article guides developers through implementing clipboard detection and paste functionality in WeChat mini programs, covering the use of wx.getClipboardData, regex URL extraction, conditional modal prompts, and provides complete sample code for integration.

JavaScriptMobile DevelopmentWeChat Mini Program
0 likes · 4 min read
Implementing Clipboard Functionality in WeChat Mini Programs
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 19, 2021 · Fundamentals

Understanding Functor, Applicative, and Monad in JavaScript with Practical Examples

The article explains JavaScript’s Functor, Applicative, and Monad abstractions—showing how map, ap, and chain (flatMap) on Box types such as Either, LazyBox, and a lazy Task can replace nested try‑catch and null checks, enable composable synchronous and asynchronous code, and support parallel execution with Task.ap.

ApplicativeAsyncJavaScript
0 likes · 20 min read
Understanding Functor, Applicative, and Monad in JavaScript with Practical Examples
ByteFE
ByteFE
Jan 18, 2021 · Frontend Development

State of JS 2020: Trends and Satisfaction of JavaScript Libraries and Frameworks

The article analyzes the State of JS 2020 data, showing how emerging JavaScript libraries, front‑end and back‑end frameworks, testing tools, bundlers and other utilities rank in usage and developer satisfaction, and highlights the rapid rise of TypeScript, Jest, React, Vue.js and newer tools such as esbuild and Snowpack.

JavaScriptframeworksfrontend
0 likes · 7 min read
State of JS 2020: Trends and Satisfaction of JavaScript Libraries and Frameworks
ByteFE
ByteFE
Jan 13, 2021 · Frontend Development

In‑Depth Analysis of Vue CLI Project Initialization and Plugin Architecture

This article provides a comprehensive walkthrough of Vue CLI's project initialization process, covering command‑line usage, entry‑file discovery, node version validation, intelligent command suggestion, preset handling, the Creator class workflow, prompt modules, plugin integration via Generator and GeneratorAPI, configuration extraction, and the final file generation steps.

CLIJavaScriptNode.js
0 likes · 31 min read
In‑Depth Analysis of Vue CLI Project Initialization and Plugin Architecture
ByteFE
ByteFE
Jan 11, 2021 · Mobile Development

Introduction to React Native: Principles, Architecture, and Practical Implementation

This article introduces React Native, covering its core concepts, cross‑platform features, underlying architecture such as JavaScriptCore, Hermes, the Bridge, Virtual DOM, threading model, hot updates, and provides practical examples for building a modal animation on both iOS and Android.

JavaScriptMobile DevelopmentReact Native
0 likes · 22 min read
Introduction to React Native: Principles, Architecture, and Practical Implementation
QQ Music Frontend Team
QQ Music Frontend Team
Jan 9, 2021 · Frontend Development

What’s New in Vue 3? A Deep Dive into Architecture, Reactivity, and Vite

This article provides a comprehensive overview of Vue 3, covering its evolution from Vue 2, key new features such as TypeScript support, the Composition API, performance optimizations, the modular monorepo structure, the reactivity system built on Proxy, and the Vite development server that powers its ecosystem.

Composition APIJavaScriptReactivity
0 likes · 28 min read
What’s New in Vue 3? A Deep Dive into Architecture, Reactivity, and Vite
Didi Tech
Didi Tech
Jan 7, 2021 · Mobile Development

Introduction to Hummer: An Ultra‑Lightweight Dynamic Cross‑Platform Development Framework

Hummer, an ultra‑lightweight, dynamic cross‑platform framework co‑created by DiDi’s Puhui and R‑Lab front‑end teams, delivers sub‑1 MB packages, near‑native performance, and a low learning curve via its Tenon reactive API, supporting iOS, Android, and Vue‑based web, and is already deployed at scale across numerous DiDi services with a crash rate below 0.01 %.

Dynamic UIHummerJavaScript
0 likes · 7 min read
Introduction to Hummer: An Ultra‑Lightweight Dynamic Cross‑Platform Development Framework
vivo Internet Technology
vivo Internet Technology
Jan 6, 2021 · Frontend Development

Master D3.js: From Core Modules to Building a Custom Bar Chart

This article explains D3.js fundamentals—including its selection, join, and scale modules—then walks through a step‑by‑step implementation of a fully customized bar chart using SVG, demonstrating how to bind data, create axes, and add interactive tooltips.

D3.jsData visualizationInteractive Charts
0 likes · 11 min read
Master D3.js: From Core Modules to Building a Custom Bar Chart
37 Mobile Game Tech Team
37 Mobile Game Tech Team
Jan 6, 2021 · Frontend Development

Build Your Own MVVM Framework from Scratch with JavaScript

This article walks through the complete implementation of a lightweight MVVM framework—covering Object.defineProperty data hijacking, proxying, template compilation, publish‑subscribe reactivity, two‑way binding, computed properties and lifecycle hooks—using plain JavaScript.

JavaScriptMVVMObject.defineProperty
0 likes · 14 min read
Build Your Own MVVM Framework from Scratch with JavaScript
Programmer DD
Programmer DD
Jan 1, 2021 · Frontend Development

How I Hacked Chrome’s Dino Game: Uncovering Hidden Global Variables

During a weekend browsing session, I discovered Chrome's offline Dino game, inspected its global JavaScript objects, filtered out native properties using a fresh window, identified the Runner constructor, and manipulated its methods to control the dinosaur's behavior—all without altering the source code.

ChromeDino GameJavaScript
0 likes · 6 min read
How I Hacked Chrome’s Dino Game: Uncovering Hidden Global Variables
php Courses
php Courses
Dec 31, 2020 · Frontend Development

Five Free 2021 New Year Countdown Effect Source Codes

This article introduces five free, downloadable JavaScript/CSS3 countdown effect templates for the 2021 New Year, each with a brief description, preview image, and direct download link for developers to integrate into their web projects.

CountdownJavaScriptWeb animation
0 likes · 3 min read
Five Free 2021 New Year Countdown Effect Source Codes
Taobao Frontend Technology
Taobao Frontend Technology
Dec 30, 2020 · Frontend Development

Why Assigning Beyond Array Length Saves Memory in V8

An in‑depth analysis shows why assigning a value at index 99999 in a large JavaScript array triggers V8 to switch from fast to slow (dictionary) mode, dramatically reducing memory usage by expanding capacity and converting holey arrays into a more efficient storage structure.

ArrayJavaScriptMemory Optimization
0 likes · 5 min read
Why Assigning Beyond Array Length Saves Memory in V8
Baidu App Technology
Baidu App Technology
Dec 29, 2020 · Frontend Development

San DevTools Technical Analysis – Message Channel and DevTools Protocol

San DevTools implements a four‑module remote‑debugging architecture where the Message Channel uses WebSocket to multiplex bidirectional frontend‑backend communication, Chrome extensions exchange messages via ports and postMessage, and both a custom San DevTools Protocol and the standard Chrome DevTools Protocol are supported through hook‑based agents and client examples.

Chrome ExtensionDevTools ProtocolJavaScript
0 likes · 19 min read
San DevTools Technical Analysis – Message Channel and DevTools Protocol
Beike Product & Technology
Beike Product & Technology
Dec 24, 2020 · Frontend Development

Building a VS Code Extension to Add Prefixes to console.log Output

This tutorial explains how to create a VS Code extension that automatically prefixes console.log statements with custom identifiers, covering project scaffolding, key file structures, activation events, command registration, implementation details, debugging, and publishing to the marketplace.

ExtensionJavaScriptNode.js
0 likes · 8 min read
Building a VS Code Extension to Add Prefixes to console.log Output
360 Tech Engineering
360 Tech Engineering
Dec 18, 2020 · Frontend Development

Cancelling Duplicate Axios Requests and Building a Reusable Wrapper

This guide explains the scenarios that cause duplicate HTTP requests in web applications, demonstrates two Axios cancellation techniques, and shows how to encapsulate the logic in a reusable module with request tracking, interceptor integration, npm linking, and open‑source contribution steps.

JavaScriptaxioscancellation
0 likes · 9 min read
Cancelling Duplicate Axios Requests and Building a Reusable Wrapper
Top Architect
Top Architect
Dec 18, 2020 · Frontend Development

A Curated List of Over 70 Open‑Source Projects from Baidu

This article presents a comprehensive catalog of more than seventy Baidu‑released open‑source projects, spanning front‑end UI libraries, data‑visualization tools, mobile frameworks, backend services, RPC frameworks, databases, AI platforms, and various development utilities for developers to explore and adopt.

BackendBaiduJavaScript
0 likes · 21 min read
A Curated List of Over 70 Open‑Source Projects from Baidu
php Courses
php Courses
Dec 17, 2020 · Backend Development

Customizing ThinkPHP 3.2 Error Page with a Personalized Template

This guide explains how to replace ThinkPHP's default error page by adding configuration entries and creating a custom HTML template, including CSS styling and JavaScript for automatic redirects, providing a more attractive and functional error display.

Error PageHTMLJavaScript
0 likes · 6 min read
Customizing ThinkPHP 3.2 Error Page with a Personalized Template
ITPUB
ITPUB
Dec 15, 2020 · Frontend Development

Mastering Large File Uploads in the Browser: Chunking, Resume, and Progress

This article explores the challenges of uploading massive files from the browser, compares traditional form, iframe, FormData, and base64 methods, and provides detailed JavaScript and PHP examples for implementing chunked uploads, resumable transfers, and progress monitoring.

JavaScriptLarge File UploadPHP
0 likes · 11 min read
Mastering Large File Uploads in the Browser: Chunking, Resume, and Progress
Wukong Talks Architecture
Wukong Talks Architecture
Dec 15, 2020 · Frontend Development

WeChat Mini Program Video Component: Best Practices, Pitfalls, and Implementation Guide

This article presents a comprehensive guide on using the WeChat Mini Program video component, covering component import, property configurations, event handling, API usage, layout strategies, permission logic, network interaction, fullscreen handling, playback continuity, URL expiration management, and eight common pitfalls to avoid.

JavaScriptWeChat Mini Programfrontend development
0 likes · 19 min read
WeChat Mini Program Video Component: Best Practices, Pitfalls, and Implementation Guide
Sensors Frontend
Sensors Frontend
Dec 14, 2020 · Frontend Development

Top Frontend Techniques: Micro‑Frontends, CSS @apply, Canvas Signatures, SSR & More

Explore a curated collection of cutting‑edge frontend knowledge—including a zero‑cost micro‑frontend framework, reasons to drop CSS @apply, canvas‑based electronic signatures with PDF output, large‑scale SSR strategies, Chrome 87 enhancements, ECMAScript 2021 features, XSS defenses, automated SVG icon delivery, ESLint best practices, JavaScript metaprogramming, node_modules pitfalls, Monorepo management, and Rax mini‑program runtime insights.

DevOpsJavaScriptWeb Performance
0 likes · 10 min read
Top Frontend Techniques: Micro‑Frontends, CSS @apply, Canvas Signatures, SSR & More
php Courses
php Courses
Dec 14, 2020 · Mobile Development

Implementing Clipboard Functionality in WeChat Mini Programs

This tutorial demonstrates how to detect, extract, and paste content copied from WeChat into a Mini Program by using the wx.getClipboardData API, applying regular‑expression matching, and displaying a confirmation modal only when the clipboard data differs from the previously stored value.

JavaScriptWeChat Mini Programregex
0 likes · 4 min read
Implementing Clipboard Functionality in WeChat Mini Programs
Top Architect
Top Architect
Dec 13, 2020 · Frontend Development

Comprehensive Overview of Browser Rendering Process and HTTP Request Flow

This article provides a detailed, step‑by‑step explanation of how a browser processes a simple HTTP request—from URL parsing, DNS lookup, and TCP connection through server handling, response reception, HTML/CSS parsing, layout, painting, reflow/repaint, and JavaScript execution—highlighting key concepts, optimizations, and common pitfalls.

DNSHTTPJavaScript
0 likes · 16 min read
Comprehensive Overview of Browser Rendering Process and HTTP Request Flow
Alibaba Terminal Technology
Alibaba Terminal Technology
Dec 10, 2020 · Frontend Development

How JavaScript Dominated the Web: Front‑End Innovations at Alibaba’s D2 Forum

This article explores the evolution of front‑end technology from early web effects to modern interactive media, detailing Alibaba's comprehensive interactive platform, the shift beyond mere efficiency, the impact of serverless architectures, and the expanding role of front‑end engineers in business‑driven product development.

AlibabaJavaScriptfrontend
0 likes · 12 min read
How JavaScript Dominated the Web: Front‑End Innovations at Alibaba’s D2 Forum
php Courses
php Courses
Dec 7, 2020 · Frontend Development

Five Creative jQuery Back-to-Top Effects with Code and Download Links

This article introduces five distinctive jQuery-powered back‑to‑top animations—including a cartoon character, rocket launcher, starry rocket, floating rocket, and a music‑ding effect—explaining their visual style, providing brief descriptions, and offering download URLs for the source code.

Back-to-TopJavaScriptUI Effects
0 likes · 3 min read
Five Creative jQuery Back-to-Top Effects with Code and Download Links
Sensors Frontend
Sensors Frontend
Dec 7, 2020 · Frontend Development

Top Frontend Insights: Micro‑Frontends, G6, Code Quality, CDN, CSS & More

This curated collection presents concise overviews of recent front‑end advancements, covering micro‑frontend architecture in Xiaomi CRM, G6 4.0 visual analytics, code‑quality best practices, 2020's hottest technologies, CDN fundamentals, CSS trends, component design, TypeScript popularity, VSCode inspection tools, watermark techniques, GPU.js acceleration, React DOM manipulation, and the top JS13K 2020 games.

Component DesignJavaScriptMicro Frontends
0 likes · 9 min read
Top Frontend Insights: Micro‑Frontends, G6, Code Quality, CDN, CSS & More
21CTO
21CTO
Dec 4, 2020 · Frontend Development

Why JavaScript Celebrates Its Birthday: 25 Years of Web Dominance

Celebrating JavaScript’s 25th anniversary, this article traces its rapid 10‑day creation in 1995, its evolution into the world’s most popular language, the rise of TypeScript, the impact of V8, and emerging technologies like WebAssembly that extend its influence across the web.

JavaScriptTypeScriptWebAssembly
0 likes · 7 min read
Why JavaScript Celebrates Its Birthday: 25 Years of Web Dominance
37 Mobile Game Tech Team
37 Mobile Game Tech Team
Dec 1, 2020 · Fundamentals

Mastering JavaScript Promises: From Scratch to Full A+ Implementation

This article walks you through building a fully functional Promise library in JavaScript, starting with a basic implementation, then adding asynchronous handling, chaining, state management, error handling, and finally aligning with the Promise/A+ specification, complete with code examples and testing guidance.

A+ SpecificationAsyncJavaScript
0 likes · 15 min read
Mastering JavaScript Promises: From Scratch to Full A+ Implementation
IT Xianyu
IT Xianyu
Nov 25, 2020 · Backend Development

Implementing Single Sign-On (SSO) in B/S Systems: Cookie, Authentication Center, and LocalStorage Approaches

This article explains three practical SSO implementation methods—using a parent‑domain cookie, deploying an authentication center, and leveraging LocalStorage with iframe/postMessage—to share session IDs or tokens across multiple web applications, discussing their advantages, limitations, and code examples.

Authentication CenterCookieJavaScript
0 likes · 10 min read
Implementing Single Sign-On (SSO) in B/S Systems: Cookie, Authentication Center, and LocalStorage Approaches
Alibaba Terminal Technology
Alibaba Terminal Technology
Nov 23, 2020 · Frontend Development

Unlock Powerful Graph Editing with AntV X6: Features, APIs, and Demos

This article introduces AntV X6, a versatile JavaScript graph‑editing engine, covering its core capabilities such as node and edge creation, custom HTML/React nodes, rich connection styles, grid and background options, interactive tools like ports, grouping, selection, undo/redo, and provides links to tutorials, demos, and extensibility mechanisms.

AntV X6DAGER Diagram
0 likes · 11 min read
Unlock Powerful Graph Editing with AntV X6: Features, APIs, and Demos
Taobao Frontend Technology
Taobao Frontend Technology
Nov 19, 2020 · Mobile Development

Boosting Deep Link Success 40% for Double 11: Inside Taobao’s Web‑to‑App Architecture

This article explains how Taobao redesigned its web‑to‑app deep‑link system, introduced a lightweight JavaScript SDK, standardized protocol configurations, and built a control platform to improve deep‑link success rates by up to 40% during the Double 11 shopping festival, while providing detailed metrics and future optimization directions.

JavaScriptdeep linkingmobile SDK
0 likes · 22 min read
Boosting Deep Link Success 40% for Double 11: Inside Taobao’s Web‑to‑App Architecture
ByteFE
ByteFE
Nov 19, 2020 · Frontend Development

Implementing a Progressive Web App (PWA) for Sharee Mobile: Features, Architecture, and Lessons Learned

This article explains the concept of Progressive Web Apps, compares them with native and traditional web apps, details the implementation of core PWA features such as App Manifest, Service Worker, caching strategies, push notifications, and Workbox best practices, and shares metrics, challenges, and solutions encountered during the Sharee mobile project.

JavaScriptPWAService Worker
0 likes · 28 min read
Implementing a Progressive Web App (PWA) for Sharee Mobile: Features, Architecture, and Lessons Learned
Yuewen Frontend Team
Yuewen Frontend Team
Nov 16, 2020 · Frontend Development

Build a Lightweight Carousel with CSS Scroll‑Snap and Minimal JavaScript

This article demonstrates how to replace heavy swiper libraries with a slim, pure‑CSS carousel using scroll‑snap‑type, scroll‑snap‑align, and scroll‑behavior, and adds a small JavaScript polyfill for smooth scrolling and automatic slide rotation, complete with npm packaging and compatibility notes.

CSSCarouselJavaScript
0 likes · 7 min read
Build a Lightweight Carousel with CSS Scroll‑Snap and Minimal JavaScript
Practical DevOps Architecture
Practical DevOps Architecture
Nov 16, 2020 · Frontend Development

Introduction to JavaScript: Basics, Inclusion Methods, Selectors, Events, and DOM Manipulation

This article introduces JavaScript fundamentals, explains three ways to include scripts, demonstrates simple click events, shows how to use selectors, outlines event handling, and covers DOM manipulation techniques such as modifying content, styles, and classes, including retrieving computed styles.

CSS selectorsDOMEvents
0 likes · 5 min read
Introduction to JavaScript: Basics, Inclusion Methods, Selectors, Events, and DOM Manipulation
php Courses
php Courses
Nov 12, 2020 · Frontend Development

Understanding Node, Element, NodeList, and HTMLCollection in the DOM

This article explains the differences between Node and Element in the DOM, clarifies the roles of NodeList and HTMLCollection, demonstrates how to inspect child nodes with code examples, and provides practical tips for handling these objects in frontend development.

DOMElementJavaScript
0 likes · 4 min read
Understanding Node, Element, NodeList, and HTMLCollection in the DOM
Top Architect
Top Architect
Nov 10, 2020 · Frontend Development

Comprehensive Guide to Setting Up Electron, Exploring Its Source Structure, and Building Sample Desktop Applications

This article provides a step‑by‑step tutorial on installing Node, vue‑cli, and Electron, explains the Electron source and project directory layouts, describes the main and renderer processes, and showcases two complete Electron‑Vue sample applications with full command‑line instructions.

Desktop ApplicationElectronJavaScript
0 likes · 12 min read
Comprehensive Guide to Setting Up Electron, Exploring Its Source Structure, and Building Sample Desktop Applications
php Courses
php Courses
Nov 10, 2020 · Backend Development

Building a Simple Chatroom with WebSocket and Swoole (PHP)

This tutorial demonstrates how to create a lightweight chatroom by combining WebSocket on the front end with Swoole's WebSocket server in PHP, covering project setup, required environment, client‑side HTML/JS, server‑side PHP code, and steps to run and test the application.

BackendChatroomJavaScript
0 likes · 8 min read
Building a Simple Chatroom with WebSocket and Swoole (PHP)
Meituan Technology Team
Meituan Technology Team
Nov 5, 2020 · Frontend Development

Advanced Development Guide for the Jimu Sketch Plugin – Platformization, Multi‑Business Switching, and UI Optimization

The guide details how the Jimu Sketch plugin was transformed from a simple internal tool into a platform‑wide solution that supports multi‑business switching, automated library conversion, UI/UX enhancements, performance caching, a native inspector panel, and deep JavaScript‑Objective‑C integration for scalable design‑system workflows.

CocoaScriptJavaScriptSketch Plugin
0 likes · 33 min read
Advanced Development Guide for the Jimu Sketch Plugin – Platformization, Multi‑Business Switching, and UI Optimization
Programmer DD
Programmer DD
Nov 5, 2020 · Frontend Development

Can You Write Hello World in JavaScript with Just Six Characters?

This article introduces the classic Hello World example in JavaScript, demonstrates the standard alert implementation, then challenges readers to output Hello World using only six characters through JSFuck techniques, explaining the underlying type coercion, array creation, and operator tricks that make it possible.

Hello WorldJSFuckJavaScript
0 likes · 4 min read
Can You Write Hello World in JavaScript with Just Six Characters?
Liangxu Linux
Liangxu Linux
Nov 4, 2020 · Fundamentals

Why 0.2 + 0.1 Equals 0.30000000000000004 in JavaScript and How IEEE‑754 Handles Decimal Fractions

JavaScript’s 0.2 + 0.1 yielding 0.30000000000000004 stems from binary floating‑point representation, where many decimal fractions cannot be expressed exactly; the article explains decimal‑to‑binary conversion, the repeating binary of 0.1, IEEE‑754 format, and how to avoid precision loss using BigDecimal in Java.

BigDecimalIEEE-754JavaScript
0 likes · 9 min read
Why 0.2 + 0.1 Equals 0.30000000000000004 in JavaScript and How IEEE‑754 Handles Decimal Fractions
Architects Research Society
Architects Research Society
Nov 2, 2020 · Frontend Development

React vs Vue: A CTO’s Guide to Choosing the Right JavaScript Framework

This article provides CTOs and project managers with a comprehensive comparison of React and Vue, covering factors such as code quality, type checking, modularity, learning curve, developer friendliness, testing, server‑side rendering, performance, scalability, application size, and practical use‑case recommendations.

JavaScriptReactVue
0 likes · 23 min read
React vs Vue: A CTO’s Guide to Choosing the Right JavaScript Framework
Aotu Lab
Aotu Lab
Oct 30, 2020 · Information Security

Can Node.js vm Sandbox Be Escaped? Understanding vm Security and Escape Techniques

This article explains how Node.js's vm module creates isolated execution contexts, demonstrates several sandbox‑escape techniques using prototype chain manipulation, and offers practical solutions such as code scanning, using vm2, or building a custom interpreter to mitigate security risks.

JavaScriptNode.jsescape
0 likes · 7 min read
Can Node.js vm Sandbox Be Escaped? Understanding vm Security and Escape Techniques
Beike Product & Technology
Beike Product & Technology
Oct 29, 2020 · Frontend Development

Introduction to tocbot

tocbot is a JavaScript library that generates a table of contents from HTML content, allowing users to navigate documents easily with scrolling synchronization.

DocumentationJavaScriptLibrary
0 likes · 7 min read
Introduction to tocbot
Youku Technology
Youku Technology
Oct 27, 2020 · Frontend Development

15th D2 Frontend Technology Forum

The 15th D2 Frontend Technology Forum, an Alibaba‑hosted online conference on Youku (Dec 19‑20 2020), offers early‑bird (30 CNY) and regular (98 CNY) tickets and features five tracks—including language frameworks, cross‑end tech, serverless Node.js, security, and diversified applications—showcasing ECMAScript, RxJS, Flutter, IoT, game‑level interaction and multimedia in a non‑profit, coffee‑price experience.

D2JavaScriptServerless
0 likes · 9 min read
15th D2 Frontend Technology Forum
Taobao Frontend Technology
Taobao Frontend Technology
Oct 27, 2020 · Artificial Intelligence

Mastering Tensors in TensorFlow.js: From Scalars to Neural Networks

This guide explains the fundamentals of tensors in TensorFlow.js—including scalars, vectors, and higher‑dimensional tensors—demonstrates how to convert real‑world data such as the Titanic dataset into tensors, and shows how to build, compile, and train a simple neural network model using appropriate layers, loss functions, and optimizers.

JavaScriptNeural NetworkTensorFlow.js
0 likes · 7 min read
Mastering Tensors in TensorFlow.js: From Scalars to Neural Networks
Programmer DD
Programmer DD
Oct 23, 2020 · Backend Development

Node.js 15 Released: npm7 Support, Throw Mode, and New Runtime Features

Node.js 15, the latest runtime release, replaces Node.js 14 as the active line, introduces npm 7 with workspace and peer‑dependency auto‑install, switches unhandled promise rejections to throw mode, adds N‑API 7, updates V8 to 8.6, and includes QUIC support, though it is not yet LTS and isn’t recommended for production.

JavaScriptNode.jsRuntime
0 likes · 3 min read
Node.js 15 Released: npm7 Support, Throw Mode, and New Runtime Features
Taobao Frontend Technology
Taobao Frontend Technology
Oct 19, 2020 · Fundamentals

What’s New in TC39? From Error Cause to Intl.DisplayNames v2 and Beyond

The article reviews the latest TC39 meeting, detailing the progression of multiple ECMAScript proposals—including Error Cause, Intl.DisplayNames, .item(), Import Assertions, class static blocks, resizable buffers, enumeration APIs, double‑ended iterators, integer math extensions, standardized debug, string dedent, and locale enhancements—while explaining stage requirements, implementation notes, and example code.

ECMAScriptJavaScriptTC39
0 likes · 19 min read
What’s New in TC39? From Error Cause to Intl.DisplayNames v2 and Beyond
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Oct 19, 2020 · Frontend Development

Understanding JavaScript Concurrency, Asynchronous I/O, and the Event Loop

The article explains that JavaScript’s single‑threaded language model relies on the engine and runtime to provide asynchronous I/O and an event loop for concurrency, while multi‑core utilization is achieved through workers, child processes, or clusters, and synchronous APIs remain useful for short, predictable tasks.

JavaScriptNode.jsasynchronous I/O
0 likes · 13 min read
Understanding JavaScript Concurrency, Asynchronous I/O, and the Event Loop
政采云技术
政采云技术
Oct 18, 2020 · Information Security

How to Secure Front‑End Data with Hybrid AES‑RSA Encryption: A Complete Guide

In the era of big data and GDPR, front‑end developers must protect personal information beyond HTTPS by using a hybrid AES‑RSA encryption scheme, and this article explains the threats, compares symmetric, asymmetric and hash algorithms, and provides full client‑side and Node.js server implementations with code examples.

AESGDPRJavaScript
0 likes · 16 min read
How to Secure Front‑End Data with Hybrid AES‑RSA Encryption: A Complete Guide
Beike Product & Technology
Beike Product & Technology
Oct 14, 2020 · Fundamentals

Understanding IEEE‑754 Floating‑Point Precision Issues in JavaScript

This article explains why JavaScript’s Number type, which follows the IEEE‑754 double‑precision standard, can produce unexpected results such as 0.1 + 0.2 = 0.30000000000000004, demonstrates the binary representation of numbers like 2.5 and 0.1, and offers practical techniques and libraries to mitigate floating‑point errors.

IEEE754JavaScriptbig-number
0 likes · 8 min read
Understanding IEEE‑754 Floating‑Point Precision Issues in JavaScript
Alibaba Terminal Technology
Alibaba Terminal Technology
Oct 12, 2020 · Frontend Development

What’s New in TC39? From Error Cause to Intl.DisplayNames v2 and Beyond

The TC39 meeting covered a range of ECMAScript proposals—including Error Cause, Intl.DisplayNames, .item() for indexables, Import Assertions, Class static initialization blocks, ResizableArrayBuffer, Intl.Enumeration, Double‑Ended Iterators, integer‑math extensions, Standardized Debug, String Dedent, Intl Locale and DisplayNames v2—detailing their stage‑gate requirements, example implementations, and impact on JavaScript development.

ECMAScript proposalsError HandlingJavaScript
0 likes · 18 min read
What’s New in TC39? From Error Cause to Intl.DisplayNames v2 and Beyond
政采云技术
政采云技术
Oct 11, 2020 · Frontend Development

In‑Depth Analysis of Vue‑Router Source Code and Dynamic Route Permission Implementation

This article provides a comprehensive walkthrough of the Vue‑Router source code, explaining its initialization, matcher creation, routing modes, navigation methods, router‑view and router‑link components, and demonstrates how to implement dynamic route permission control using Vuex and global navigation guards.

FlowJavaScriptPermissions
0 likes · 27 min read
In‑Depth Analysis of Vue‑Router Source Code and Dynamic Route Permission Implementation
JD Cloud Developers
JD Cloud Developers
Oct 9, 2020 · Fundamentals

4 Programming Habits to Unlearn for Cleaner, More Efficient Code

This article identifies four common programming patterns—loops, conditional statements, vague variable names, and global scope—that hinder code clarity and maintainability, and shows how to replace them with higher‑order functions, data‑driven structures, purposeful naming, and encapsulation techniques.

Code RefactoringJavaScriptfunctional programming
0 likes · 9 min read
4 Programming Habits to Unlearn for Cleaner, More Efficient Code
Youzan Coder
Youzan Coder
Sep 18, 2020 · Frontend Development

Implementing WeChat Mini Program Share to Moments and Handling Single‑Page Mode

WeChat Mini Programs now support sharing to Moments via a new single‑page mode that shows a fixed navigation bar and bottom bar, imposes restrictions such as no login or navigation, requires setting navigationBarFit, and can be handled by detecting scene 1154 and using conditional logic, dedicated components, or an ExtendPage helper to adapt page behavior.

Front-endJavaScriptShare to Moments
0 likes · 10 min read
Implementing WeChat Mini Program Share to Moments and Handling Single‑Page Mode
IT Architects Alliance
IT Architects Alliance
Sep 17, 2020 · Frontend Development

How HarmonyOS 2.0 Renders UI with a Simplified Vue‑like JavaScript Stack

This article dissects HarmonyOS 2.0's embedded GUI stack, explaining its three abstraction layers—JS framework, JS engine/runtime, and graphics rendering—while detailing the underlying open‑source components, custom C++ integrations, performance trade‑offs, and practical code examples for developers.

Embedded UIEngineGUI
0 likes · 17 min read
How HarmonyOS 2.0 Renders UI with a Simplified Vue‑like JavaScript Stack
Programmer DD
Programmer DD
Sep 17, 2020 · Backend Development

How to Implement Multi-Image Upload and Preview in Spring MVC

This guide walks through building a Spring MVC backend that accepts multiple image uploads, returns them for preview, and covers front‑end HTML, JavaScript handling, multipart configuration, and common pitfalls such as parameter naming, file size limits, and global exception handling.

Exception HandlingJavaScriptMultipartFile
0 likes · 7 min read
How to Implement Multi-Image Upload and Preview in Spring MVC
vivo Internet Technology
vivo Internet Technology
Sep 10, 2020 · Frontend Development

Effective Front-End Performance Optimizations: Object Caching, Object.freeze(), Preloading, and Parallel Loading

The article outlines practical front‑end performance tricks—caching object references, freezing immutable data to bypass Vue reactivity, using preload/prefetch/DNS‑prefetch/prerender/preconnect tags, and initiating parallel API and asset loads—demonstrating measurable bundle size reductions and faster page rendering in a Vue‑based Vivo site.

JavaScriptWebfrontend
0 likes · 20 min read
Effective Front-End Performance Optimizations: Object Caching, Object.freeze(), Preloading, and Parallel Loading
Architects Research Society
Architects Research Society
Sep 4, 2020 · Frontend Development

Polling vs Server‑Sent Events vs WebSockets: Choosing the Right Real‑Time Communication Method

This article compares three real‑time data delivery techniques—long/short polling, Server‑Sent Events, and WebSockets—explaining their mechanisms, advantages, drawbacks, and providing sample client‑server implementations to help developers select the most suitable approach for a dashboard that streams GitHub/Twitter activity.

BackendJavaScriptPolling
0 likes · 12 min read
Polling vs Server‑Sent Events vs WebSockets: Choosing the Right Real‑Time Communication Method
Tencent Cloud Developer
Tencent Cloud Developer
Sep 4, 2020 · Frontend Development

Introducing TWebLive: Tencent Cloud Web Live Interactive SDK

TWebLive, Tencent Cloud’s new web‑live interactive SDK, bundles TRTC, TIM and TCPlayer to let developers add push streaming, low‑latency WebRTC or CDN playback, and real‑time chat or bullet‑screen interaction with simple APIs, demo projects and open‑source code, replacing legacy Flash solutions.

JavaScriptSDKTencent Cloud
0 likes · 11 min read
Introducing TWebLive: Tencent Cloud Web Live Interactive SDK
Laravel Tech Community
Laravel Tech Community
Sep 2, 2020 · Frontend Development

Obtaining a WeChat User's Nickname in an H5 Page via OAuth Authorization

This tutorial explains how to configure a certified WeChat public account, construct the OAuth authorization URL, exchange the returned code for an access token, retrieve the user's basic profile—including nickname—and redirect back to the H5 page, while covering required parameters and token refresh details.

APIH5JavaScript
0 likes · 7 min read
Obtaining a WeChat User's Nickname in an H5 Page via OAuth Authorization
The Dominant Programmer
The Dominant Programmer
Sep 2, 2020 · Frontend Development

How to Encrypt Passwords in Vue with RSA and JSEncrypt

This guide shows how to protect plaintext passwords in a Vue login flow by using RSA asymmetric encryption with the JSEncrypt library, generating key pairs, creating utility functions, and storing encrypted credentials in cookies while providing decryption on retrieval.

JavaScriptRSAVue
0 likes · 5 min read
How to Encrypt Passwords in Vue with RSA and JSEncrypt
Taobao Frontend Technology
Taobao Frontend Technology
Sep 1, 2020 · Artificial Intelligence

Build a Browser‑Based MNIST Classifier with TensorFlow.js: A Step‑by‑Step Guide

Learn how to create a browser‑compatible MNIST image classification model using TensorFlow.js, covering data preprocessing with sprite images, model construction, training, and evaluation, while providing complete JavaScript code examples and practical tips for handling ArrayBuffer, DataView, and visualization.

Deep LearningJavaScriptMNIST
0 likes · 8 min read
Build a Browser‑Based MNIST Classifier with TensorFlow.js: A Step‑by‑Step Guide
Laravel Tech Community
Laravel Tech Community
Aug 31, 2020 · Frontend Development

Apache ECharts 4.9.0 Release Highlights and New Features

Apache ECharts 4.9.0, an open‑source JavaScript charting library incubated by Apache, introduces new features such as polygon graph connections and horizontal funnel orientation, adds tooltip text shadow and brush style options, and resolves numerous bugs across components like toolbox, tooltip, and bar charts.

Chart LibraryData visualizationECharts
0 likes · 4 min read
Apache ECharts 4.9.0 Release Highlights and New Features
Laravel Tech Community
Laravel Tech Community
Aug 25, 2020 · Frontend Development

Why You Should Avoid Using setInterval in JavaScript

Using setInterval for repeated tasks in JavaScript can lead to unhandled errors, ignore network latency, and provide no guarantee of execution timing, causing request overloads and missed intervals; replacing it with setTimeout and dynamic scheduling ensures more reliable, controlled, and error‑resilient timing behavior.

JavaScriptTimerssetInterval
0 likes · 5 min read
Why You Should Avoid Using setInterval in JavaScript