Tagged articles

JavaScript

2446 articles · Page 7 of 25
21CTO
21CTO
Jul 30, 2024 · Frontend Development

What’s New in ECMAScript 2024? Key Features and Their Impact on JavaScript Development

The article reviews ECMAScript 2024, highlighting new small‑scale features such as improved WebAssembly interop, enhanced Promise utilities, group‑by methods, better Unicode handling, async locking with Atomics.waitAsync, and resizable ArrayBuffers, while also discussing upcoming proposals for 2025.

ECMAScript 2024JavaScriptUnicode
0 likes · 17 min read
What’s New in ECMAScript 2024? Key Features and Their Impact on JavaScript Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 29, 2024 · Frontend Development

Ensuring a Single Token Request Across Multiple API Calls with a repeatOnce Function

This article explains how to prevent multiple simultaneous token requests in a web application by using a custom repeatOnce function that caches the token in localStorage and coordinates pending calls through an event emitter, ensuring only the first request fetches the token while others wait for its result.

FrontendJavaScriptPromise
0 likes · 5 min read
Ensuring a Single Token Request Across Multiple API Calls with a repeatOnce Function
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Jul 26, 2024 · Backend Development

Node.js Gains Experimental Native TypeScript Support

Node.js merged PR #53725, introducing the --experimental-strip-types flag that lets developers run TypeScript files directly by transpiling them to JavaScript without type checking, while outlining current limitations such as missing enum and namespace support, .ts file handling, and source‑map absence.

Experimental SupportJavaScriptNode.js
0 likes · 4 min read
Node.js Gains Experimental Native TypeScript Support
Top Architect
Top Architect
Jul 25, 2024 · Backend Development

Implementing Token Silent Refresh with Spring Boot Gateway, Axios Interceptor, and Periodic Timer Monitoring

This article explains how to achieve seamless token silent refresh by handling expiration on the server side with a Spring Boot 3 gateway filter, on the client side with an Axios response interceptor, and by using a TypeScript timer to proactively refresh tokens before they expire, while also discussing the trade‑offs between server‑ and client‑side implementations.

JavaScriptaxiosrefresh()
0 likes · 24 min read
Implementing Token Silent Refresh with Spring Boot Gateway, Axios Interceptor, and Periodic Timer Monitoring
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 25, 2024 · Game Development

Building a First‑Person Shooting Game with Three.js

This tutorial walks through creating a complete first‑person shooter in the browser using Three.js, covering scene setup, floor and lighting, random moving targets, player controls, shooting mechanics, bullet physics, hit detection, explosion effects, and the main animation loop.

3D graphicsFirst-Person ShooterGame Development
0 likes · 16 min read
Building a First‑Person Shooting Game with Three.js
IT Services Circle
IT Services Circle
Jul 23, 2024 · Frontend Development

Vue2 vs Vue3: Differences, New Features, and Migration Guide

This article provides a comprehensive comparison between Vue 2 and Vue 3, detailing their architectural differences, new features such as the Composition API, TypeScript support, fragments, teleport, suspense, virtual‑DOM optimizations, and guidance on state management, build tools, and migration strategies.

Composition APIJavaScriptVue
0 likes · 20 min read
Vue2 vs Vue3: Differences, New Features, and Migration Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 23, 2024 · Frontend Development

Creating Custom ESLint Plugins to Enforce Team Coding Standards

This article explains how to develop custom ESLint plugins—covering background concepts, Yeoman generator setup, rule implementation for typeof and instanceof checks, unit testing, local linking, and providing recommended configurations—to ensure consistent code style and best‑practice enforcement across a development team.

ESLintJavaScriptcustom plugin
0 likes · 12 min read
Creating Custom ESLint Plugins to Enforce Team Coding Standards
FunTester
FunTester
Jul 22, 2024 · Frontend Development

How to Build a Chrome Extension from Scratch: A Complete Step‑by‑Step Guide

This article walks you through the fundamentals of Chrome extension development, covering its advantages, required prerequisites, manifest file creation, core components such as popup pages, background scripts, content scripts, and context menus, complete with practical code examples and configuration details.

Chrome ExtensionFrontendJavaScript
0 likes · 14 min read
How to Build a Chrome Extension from Scratch: A Complete Step‑by‑Step Guide
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Jul 19, 2024 · Frontend Development

How Chrome Canary Lets You Run Gemini Nano LLM Directly in the Browser

Chrome Canary’s experimental Gemini Nano feature enables local execution of a large language model in the browser, offering easy deployment, hardware acceleration, offline use, and a Prompt API with createTextSession and streaming calls, plus step‑by‑step instructions and a demo for in‑page translation.

Chrome CanaryFrontendGemini Nano
0 likes · 8 min read
How Chrome Canary Lets You Run Gemini Nano LLM Directly in the Browser
Sohu Tech Products
Sohu Tech Products
Jul 17, 2024 · Fundamentals

Refactoring Spaghetti Code: Strategies for Complex if‑else Structures

The article explains how deeply nested if‑else statements create spaghetti code and proposes three refactoring techniques—function extraction, lookup‑table mapping, and the responsibility‑chain pattern—to replace complex conditional trees with modular, readable structures that dramatically lower control‑flow complexity.

JavaScriptcode maintainabilityif-else
0 likes · 9 min read
Refactoring Spaghetti Code: Strategies for Complex if‑else Structures
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 17, 2024 · Frontend Development

Rapid Development of a Vue3 Carousel Component Using Doubao MarsCode Online IDE

The article details how the author leveraged Doubao MarsCode's AI‑powered online IDE to quickly set up a Vue3 project, import a git repository, switch Node versions, install dependencies, develop a paginated carousel component with full code snippets, and evaluate the platform's strengths and weaknesses.

CarouselFrontendJavaScript
0 likes · 21 min read
Rapid Development of a Vue3 Carousel Component Using Doubao MarsCode Online IDE
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 16, 2024 · Frontend Development

Implementing Object Glow Effect in Three.js Using EffectComposer

This tutorial demonstrates how to create a glowing effect for 3D objects in three.js by setting up a basic HTML framework, loading a GLTF model, configuring EffectComposer with RenderPass, UnrealBloomPass, and OutputPass, adding automatic rotation, a GUI for parameter tweaking, and a performance monitor, all illustrated with complete source code.

EffectComposerJavaScriptglow effect
0 likes · 18 min read
Implementing Object Glow Effect in Three.js Using EffectComposer
21CTO
21CTO
Jul 15, 2024 · Backend Development

Bridging Python and JavaScript: Inside the PythonMonkey Runtime

PythonMonkey is a SpiderMonkey‑based JavaScript runtime embedded in Python that lets developers run JavaScript inside Python and vice‑versa, offering WebAssembly support, a Node‑like PMJS environment, and a roadmap of cross‑language features aimed at speeding development and reducing maintenance overhead.

Cross-languageJavaScriptPythonMonkey
0 likes · 10 min read
Bridging Python and JavaScript: Inside the PythonMonkey Runtime
DaTaobao Tech
DaTaobao Tech
Jul 12, 2024 · Game Development

Game Development Techniques: Pathfinding, Depth Sorting, and Parallax Effects in a 2D Chicken Game

The article walks through building a 2D chicken game, contrasting a costly ray‑casting pathfinder with an optimal A* grid‑based solution, detailing node classes, heuristics, and JavaScript code, while also covering parallax scrolling, bottom‑Y depth sorting, a unified timer system, and a dual Phaser‑Rax rendering architecture.

A* algorithmGame DevelopmentJavaScript
0 likes · 18 min read
Game Development Techniques: Pathfinding, Depth Sorting, and Parallax Effects in a 2D Chicken Game
Python Programming Learning Circle
Python Programming Learning Circle
Jul 11, 2024 · Frontend Development

Creating a Snowfall Effect with HTML, CSS, and JavaScript

This tutorial walks through building a realistic snowfall animation on a web page using HTML span elements, CSS radial gradients, and JavaScript classes to generate, style, animate, and recycle thousands of snowflakes with optional swing, speed variations, 3‑D perspective, and performance‑optimized transforms.

HTMLJavaScriptcss
0 likes · 12 min read
Creating a Snowfall Effect with HTML, CSS, and JavaScript
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 11, 2024 · Backend Development

Implementing Online User Counting with Redis Sorted Sets (zset)

This article explains how to track online users by assigning each user a unique identifier, storing it in a Redis sorted set with an expiration timestamp, and using zadd, zrangeByScore, zremrangeByScore, and zrem commands together with browser fingerprinting to reliably count and clean up active sessions.

BackendFingerprintJSJavaScript
0 likes · 7 min read
Implementing Online User Counting with Redis Sorted Sets (zset)
Goodme Frontend Team
Goodme Frontend Team
Jul 4, 2024 · Frontend Development

Curated Frontend Resources: JS Frameworks, React Diff, CSS Mastery & More

This newsletter curates recent frontend news and deep‑dive articles covering the State of JavaScript 2023, large‑model trends, OpenAI's acquisition of Multi, RPA debates, building a modern JS framework, CSS importance, React's diff algorithm, a UX design book, plus practical tips on Taro, MQTT and data‑center interfaces.

FrontendJavaScriptResources
0 likes · 6 min read
Curated Frontend Resources: JS Frameworks, React Diff, CSS Mastery & More
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 4, 2024 · Frontend Development

Implementing Map Drill‑Down with Echarts in Vue 3

This tutorial demonstrates how to create an interactive Echarts map that supports drill‑down to county level and back navigation using Vue 3, vue‑echarts, and Vite, covering data acquisition, option configuration, event handling, and full component code.

Data VisualizationFrontendJavaScript
0 likes · 10 min read
Implementing Map Drill‑Down with Echarts in Vue 3
FunTester
FunTester
Jul 3, 2024 · Frontend Development

How TypeScript Is Transforming Modern JavaScript Development

This article examines why TypeScript has become essential for complex web applications, outlining its benefits such as improved maintainability and early error detection, the challenges developers face, and the language's future impact on the web development ecosystem.

FrontendJavaScriptStatic Typing
0 likes · 7 min read
How TypeScript Is Transforming Modern JavaScript Development
21CTO
21CTO
Jul 2, 2024 · Frontend Development

What ECMAScript 2024 and WasmGC Mean for Modern Web Development

The article covers Amazon’s $2 trillion market cap milestone, China’s push to standardize brain‑computer interfaces, the approval of ECMAScript 2024 with new JavaScript features, and Google Sheets’ shift from a JavaScript engine to a WasmGC‑based calculation engine, highlighting their broader tech implications.

ECMAScriptJavaScriptWasmGC
0 likes · 6 min read
What ECMAScript 2024 and WasmGC Mean for Modern Web Development
21CTO
21CTO
Jul 2, 2024 · Frontend Development

When Should You Skip a JavaScript Framework? 5 Practical Reasons

This article outlines five clear scenarios—simple projects, sufficient HTML/CSS, modern ES6 features, desire for creative freedom, and HTMX alternatives—where using a JavaScript framework adds unnecessary complexity and can be safely avoided.

FrontendHTMXJavaScript
0 likes · 6 min read
When Should You Skip a JavaScript Framework? 5 Practical Reasons
21CTO
21CTO
Jun 30, 2024 · Artificial Intelligence

Which Programming Language Is Best for AI? A Comparative Guide

This article surveys the most suitable programming languages for artificial intelligence, examining Python, R, Java, LISP, Prolog, C++, Haskell, JavaScript, and Julia, and outlines their strengths, ecosystem support, and use cases to help developers choose the right tool for AI projects.

AIC++Java
0 likes · 15 min read
Which Programming Language Is Best for AI? A Comparative Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 29, 2024 · Frontend Development

How to Build a Mouse‑Tracking Parallax Banner Animation with HTML, CSS, and JavaScript

This tutorial explains how to recreate Bilibili's mouse‑responsive top‑banner animation by collecting assets, constructing a layered HTML structure, applying CSS positioning, and writing vanilla JavaScript to track mouse movement, calculate element offsets, and animate the layers with smooth transitions.

HTMLJavaScriptcss
0 likes · 15 min read
How to Build a Mouse‑Tracking Parallax Banner Animation with HTML, CSS, and JavaScript
21CTO
21CTO
Jun 27, 2024 · Fundamentals

Is Gleam the Friendly Functional Language You’ve Been Waiting For?

This article introduces Gleam, a type‑safe functional language that compiles to Erlang and JavaScript, walks through installation, a hello‑world program, package management, pattern matching with algebraic data types, and demonstrates its concurrency‑friendly, null‑free design.

ErlangFunctional ProgrammingGleam
0 likes · 8 min read
Is Gleam the Friendly Functional Language You’ve Been Waiting For?
Meituan Technology Team
Meituan Technology Team
Jun 27, 2024 · Mobile Development

Meituan Mini‑Program Testability Practices and Implementation

Meituan’s Tech Salon Session 77 describes how the company built a generic JavaScript‑hooking SDK packaged as an NPM module to give mini‑programs on platforms such as WeChat, Alipay and Kuaishou observable and controllable capabilities across UI, storage, network and system layers, enabling automated cache management, request mocking, state inspection and visual diff testing, which the ticket team leveraged to achieve over 30 % test scenario coverage, 100 % page coverage and discover hundreds of defects, while outlining future plans to stabilize and expand the framework.

AutomationJavaScriptMini Program
0 likes · 19 min read
Meituan Mini‑Program Testability Practices and Implementation
21CTO
21CTO
Jun 25, 2024 · Fundamentals

TypeScript 5.5 Highlights: New Set API, Faster Builds, and Regex Checks

TypeScript 5.5 introduces inferred type predicates, enhanced regular‑expression checks, performance optimizations like faster transpileModule, reduced package size, new Set methods (union, intersection, difference, isSubsetOf), support for ECMAScript Set APIs, @import syntax, and a transpileDeclaration API, while addressing previous RC issues.

JavaScriptSet APITypeScript
0 likes · 5 min read
TypeScript 5.5 Highlights: New Set API, Faster Builds, and Regex Checks
php Courses
php Courses
Jun 25, 2024 · Backend Development

Using PHP to Access a Webcam and Apply Real-Time Filters

This tutorial explains how to install the necessary PHP‑GD and Video4Linux components, create a web page that shows a live webcam preview with JavaScript, add a filter selector, and process the selected filter on the server side using PHP‑GD to produce real‑time filtered images.

GD libraryJavaScriptWebcam
0 likes · 8 min read
Using PHP to Access a Webcam and Apply Real-Time Filters
21CTO
21CTO
Jun 23, 2024 · Frontend Development

Top 10 JavaScript Libraries to Master in 2024: A Developer’s Guide

This article reviews the ten most valuable JavaScript libraries for 2024—including React, Redux, D3.js, TensorFlow.js, Angular, Node.js, Vue, Svelte, Three.js, and Lodash—detailing their core features, performance benefits, typical use cases, and why they remain essential tools for modern frontend development.

Data VisualizationJavaScriptNode.js
0 likes · 18 min read
Top 10 JavaScript Libraries to Master in 2024: A Developer’s Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 22, 2024 · Frontend Development

Debugging Production Errors with Ajax Interceptor, Source Maps, and Manual Mapping

This article explains practical methods for diagnosing and fixing production‑time JavaScript errors by using the Ajax‑Interceptor Chrome extension, understanding hidden‑source‑map vs source‑map differences, adding source‑map files in Chrome, and applying manual source‑map mapping or proxy tools like Charles.

ChromeFrontendJavaScript
0 likes · 6 min read
Debugging Production Errors with Ajax Interceptor, Source Maps, and Manual Mapping
Open Source Tech Hub
Open Source Tech Hub
Jun 21, 2024 · Backend Development

How to Use Apipost Pre‑Execution Scripts to Call External Programs

This guide explains how Apipost’s pre‑execution scripts can run before a request, allowing developers to write JavaScript functions, manipulate variables, modify headers, queries, bodies, and invoke external programs via the apt.execute API, with version requirements, usage syntax, and a complete code example.

API testingApipostJavaScript
0 likes · 5 min read
How to Use Apipost Pre‑Execution Scripts to Call External Programs
21CTO
21CTO
Jun 21, 2024 · Backend Development

Why JavaScript Can’t Replicate Laravel’s All‑In‑One Power – Should You Switch?

This article examines why JavaScript’s ecosystem lacks a unified, Laravel‑style framework, compares popular full‑stack JavaScript solutions such as Redwood, Blitz, and Adonis with Laravel, and helps developers decide whether to stay with JavaScript or adopt PHP’s Laravel for a one‑stop backend solution.

JavaScriptLaravelframework comparison
0 likes · 16 min read
Why JavaScript Can’t Replicate Laravel’s All‑In‑One Power – Should You Switch?
21CTO
21CTO
Jun 18, 2024 · Frontend Development

Will Front‑End Frameworks Converge? Insights from React Summit 2024

A panel of leading JavaScript framework creators at the 2024 React Summit discussed whether front‑end frameworks will merge into a single solution, highlighting the challenges of standardizing syntax, the value of each framework's unique strengths, and the potential of shared principles over outright consolidation.

JavaScriptReact SummitStandardization
0 likes · 6 min read
Will Front‑End Frameworks Converge? Insights from React Summit 2024
macrozheng
macrozheng
Jun 18, 2024 · Frontend Development

Discover Layui: A Lightweight Frontend UI Library for Rapid Web Development

Layui is a free, lightweight Web UI component library that follows native HTML/CSS/JS development, offering modular specifications, easy onboarding, and a rich set of components, with simple installation via download, npm, or CDN, making rapid, elegant frontend development straightforward.

Component LibraryJavaScriptLayui
0 likes · 7 min read
Discover Layui: A Lightweight Frontend UI Library for Rapid Web Development
Liangxu Linux
Liangxu Linux
Jun 17, 2024 · Frontend Development

JavaScript Control Flow Essentials: Loops, Conditionals, and Hidden Password Tricks

This article showcases practical JavaScript snippets—including a 40‑iteration for‑loop, various if‑statement patterns, hidden password field tricks, complex else chains, while‑loop limits, and odd/even detection—illustrated with screenshots and commentary to help developers understand control flow and coding style nuances.

Code examplesControl FlowJavaScript
0 likes · 4 min read
JavaScript Control Flow Essentials: Loops, Conditionals, and Hidden Password Tricks
21CTO
21CTO
Jun 14, 2024 · Fundamentals

2024 Programming Language Rankings: What SlashData’s Survey Reveals

SlashData’s 26th Developer Nation survey, covering over 10,000 developers from 135 countries, shows JavaScript remains the most popular language, Python overtakes Java for second place, and emerging languages like Rust and Go experience rapid growth, while new developers face distinct adoption challenges.

2024 trendsDeveloper SurveyGo
0 likes · 6 min read
2024 Programming Language Rankings: What SlashData’s Survey Reveals
Ctrip Technology
Ctrip Technology
Jun 14, 2024 · Frontend Development

Canyon: A JavaScript End‑to‑End Test Coverage Solution for Frontend Projects

Canyon extends the IstanbulJS ecosystem with a Babel‑based instrumentation plugin, real‑time coverage aggregation, and cloud‑native reporting to enable large‑scale end‑to‑end UI automation coverage for modern JavaScript front‑end applications, including SPA, MPA, and React Native environments.

CI/CDCanyonFrontend
0 likes · 19 min read
Canyon: A JavaScript End‑to‑End Test Coverage Solution for Frontend Projects
macrozheng
macrozheng
Jun 13, 2024 · Frontend Development

Master Cherry Markdown: Powerful Open-Source Editor with Features, Installation & Demos

Cherry Markdown, Tencent’s open-source JavaScript Markdown editor, offers lightweight, extensible editing with features like image scaling, chart generation, multi-cursor support, and multiple preview modes, and the article provides a detailed overview, performance highlights, installation steps, code examples, and demo screenshots.

EditorJavaScriptOpen source
0 likes · 6 min read
Master Cherry Markdown: Powerful Open-Source Editor with Features, Installation & Demos
21CTO
21CTO
Jun 10, 2024 · Frontend Development

Build a VS Code Extension to Auto‑Switch Node.js Versions Across Projects

This guide walks you through creating a VS Code extension that automatically detects the Node.js version specified in each project's package.json and switches the editor’s environment accordingly, covering setup with Yeoman, core activation code, debugging, packaging, and publishing to the Marketplace.

ExtensionJavaScriptNode.js
0 likes · 6 min read
Build a VS Code Extension to Auto‑Switch Node.js Versions Across Projects
21CTO
21CTO
Jun 8, 2024 · Fundamentals

Which Programming Languages Will Dominate 2025? A Guide to the Top 10 Picks

This article reviews the ten most promising programming languages for 2025 and beyond, explaining their strengths, typical use cases, and why they are valuable choices for developers seeking to stay ahead in web, mobile, game, and system development.

2025 trendsCareer GuidanceJavaScript
0 likes · 9 min read
Which Programming Languages Will Dominate 2025? A Guide to the Top 10 Picks
Sohu Tech Products
Sohu Tech Products
Jun 5, 2024 · Frontend Development

Recent Trends and Updates in the JavaScript Framework Ecosystem

The JavaScript framework ecosystem has surged forward with React adding Server Components, a Compiler and Server Actions; Vue 3.4 delivering faster reactivity and a Vapor mode; Angular introducing Signals and partial hydration; Next.js unveiling an App Router and Turbopack; Nuxt, Svelte, Remix and Astro each releasing performance‑focused features, underscoring a rapidly evolving landscape for modern web development.

AngularJavaScriptNext.js
0 likes · 14 min read
Recent Trends and Updates in the JavaScript Framework Ecosystem
Architecture Digest
Architecture Digest
Jun 2, 2024 · Fundamentals

Understanding Unicode, UTF-16, and String Length Issues in JavaScript

This article explains why JavaScript string length behaves unexpectedly with Unicode characters, describes UTF‑16 encoding and surrogate pairs, and demonstrates ES6 techniques such as for‑of loops, spread syntax, the u regex flag, codePointAt, and normalize to handle Unicode correctly.

JavaScriptProgramming FundamentalsUTF-16
0 likes · 7 min read
Understanding Unicode, UTF-16, and String Length Issues in JavaScript
IT Services Circle
IT Services Circle
May 31, 2024 · Frontend Development

Understanding Virtual DOM and Popular Implementations

This article explains the concept of the Virtual DOM, its performance benefits in front‑end development, and presents several open‑source implementations such as Million.js, Snabbdom, virtual‑dom, blockdom, Maquette, and additional lightweight libraries, each with brief descriptions and GitHub links.

JavaScriptPerformanceVirtual DOM
0 likes · 6 min read
Understanding Virtual DOM and Popular Implementations
21CTO
21CTO
May 28, 2024 · Frontend Development

Unlock Cutting-Edge JavaScript: Monads, Declarative Code, Caching & More

This article explores five advanced JavaScript techniques—Monads, declarative programming, server‑side caching, immutability, and pattern matching—explaining their concepts, benefits, and providing practical code examples to help senior developers build more robust, high‑performance web applications.

Advanced TechniquesCachingDeclarative programming
0 likes · 10 min read
Unlock Cutting-Edge JavaScript: Monads, Declarative Code, Caching & More
Sohu Tech Products
Sohu Tech Products
May 21, 2024 · Frontend Development

Boost Mini Program Performance: Mastering setData Optimization Techniques

This article explains why Mini Programs are popular, describes their dual‑thread architecture, and provides concrete strategies—including reducing call frequency, limiting data volume, and applying data layering and rendering chunking—to optimize setData performance and improve user experience.

JavaScriptMini ProgramPerformance optimization
0 likes · 11 min read
Boost Mini Program Performance: Mastering setData Optimization Techniques
ByteFE
ByteFE
May 21, 2024 · Frontend Development

Comprehensive Guide to Internationalization (i18n) and Localization (l10n) in Web Development

This article provides an in‑depth overview of internationalization and localization for web applications, covering concepts such as language codes, locale handling, date and time formatting, number and currency formatting, text direction, layout adjustments, and practical JavaScript Intl API examples with code snippets.

Intl APIJavaScriptLocalization
0 likes · 45 min read
Comprehensive Guide to Internationalization (i18n) and Localization (l10n) in Web Development
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 14, 2024 · Frontend Development

How Tango’s AST‑Driven Low‑Code Engine Boosts Frontend Productivity

Facing the trade‑off between flexibility and speed in low‑code development, NetEase’s cloud music team built Tango—a source‑code‑based low‑code engine that leverages AST manipulation and the TangoBoot framework to standardize front‑end programming, halve view logic, and unify low‑code with traditional development.

ASTFrontendJavaScript
0 likes · 12 min read
How Tango’s AST‑Driven Low‑Code Engine Boosts Frontend Productivity
php Courses
php Courses
May 11, 2024 · Backend Development

Generating Heatmaps with Baidu Map API in PHP

This tutorial explains how to use the Baidu Map API together with PHP to prepare heat‑map data, create a HeatMap instance, add weighted points, generate the heat‑map image and finally display it on a web page using JavaScript.

BackendBaidu Map APIData Visualization
0 likes · 5 min read
Generating Heatmaps with Baidu Map API in PHP
Open Source Tech Hub
Open Source Tech Hub
May 11, 2024 · Frontend Development

What’s New in Layui? Latest Features and Bug Fixes Overview

This article outlines the recent updates to the free open‑source Layui UI library, detailing new options, bug fixes, and security patches across components such as laydate, treeTable, form, upload, and more, while highlighting its lightweight, browser‑centric design philosophy.

FrontendJavaScriptLayui
0 likes · 4 min read
What’s New in Layui? Latest Features and Bug Fixes Overview
ByteFE
ByteFE
May 10, 2024 · Frontend Development

Understanding and Using Custom Hooks (Composition API) in Vue 3

This article explains the concept of custom hooks—known as the Composition API—in Vue 3, discusses when and why to use them for logic reuse, provides practical examples and code snippets, and shares a curated list of useful Vue 3 hook libraries and resources.

Composition APICustom HooksJavaScript
0 likes · 9 min read
Understanding and Using Custom Hooks (Composition API) in Vue 3
php Courses
php Courses
May 8, 2024 · Backend Development

How to Implement Taxi Trajectory Visualization with PHP and Baidu Maps API

This tutorial explains step-by-step how to set up a MySQL database, create PHP scripts to fetch taxi trajectory data, and use Baidu Maps JavaScript API within an HTML page to render dynamic taxi movement paths, including code examples for database creation, data insertion, and map rendering.

Baidu MapsJavaScripttutorial
0 likes · 6 min read
How to Implement Taxi Trajectory Visualization with PHP and Baidu Maps API
Huolala Tech
Huolala Tech
May 7, 2024 · Frontend Development

How to Parse Text Styles in Photoshop with CEP: A Step-by-Step Guide

Using Adobe’s CEP platform, this tutorial shows how to set up a Photoshop extension, employ the Action Manager API to extract text layer properties such as color, font size, and shadow, and then recreate the design in HTML/CSS, streamlining marketing asset creation.

Action ManagerCEPJavaScript
0 likes · 9 min read
How to Parse Text Styles in Photoshop with CEP: A Step-by-Step Guide
Open Source Tech Hub
Open Source Tech Hub
May 4, 2024 · Artificial Intelligence

Integrate Alibaba Tongyi Qianwen with Webman OpenAI Plugin in 3 Minutes

This guide walks developers through registering for Alibaba Cloud's Tongyi Qianwen large‑language model, creating a DashScope API‑KEY, and using the OpenAI‑compatible interface with the Webman/openai PHP plugin and a simple JavaScript client to stream responses.

DashScopeJavaScriptOpenAI compatible API
0 likes · 7 min read
Integrate Alibaba Tongyi Qianwen with Webman OpenAI Plugin in 3 Minutes
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 27, 2024 · Frontend Development

Generating Dynamic Posters with html2canvas in Web Pages

This tutorial explains how to use the html2canvas library to render dynamic HTML content into canvas images, covering installation, markup definition, styling, script implementation, download handling, and important limitations for creating shareable posters in front‑end applications.

CanvasFrontendJavaScript
0 likes · 7 min read
Generating Dynamic Posters with html2canvas in Web Pages
Sohu Tech Products
Sohu Tech Products
Apr 24, 2024 · Frontend Development

CSS :has Pseudo-class for Modal Scroll Locking

This article shows how to lock page scrolling when a modal is open by using the new CSS :has pseudo‑class—replacing JavaScript‑driven overflow toggles that fail with nested dialogs—and demonstrates a simple body:has(dialog[open]) selector that works across all modern browsers.

:has() selectorFrontendJavaScript
0 likes · 4 min read
CSS :has Pseudo-class for Modal Scroll Locking
Tencent Cloud Developer
Tencent Cloud Developer
Apr 23, 2024 · Backend Development

Performance Optimization of the qs Library: A 5× Speedup Case Study

A Tencent engineer fixed a severe memory‑leak in the qs library’s encode function by processing 30 MB strings in 1024‑character chunks, reducing heap usage from 2.5 GB to 0.48 GB and cutting runtime from 7.9 s to 2.1 s, achieving a five‑fold speedup and memory reduction, and contributed the change as an open‑source pull request.

BenchmarkJavaScriptNode.js
0 likes · 10 min read
Performance Optimization of the qs Library: A 5× Speedup Case Study
HelloTech
HelloTech
Apr 18, 2024 · Mobile Development

Understanding JSBridge in Hybrid Mobile App Development

JSBridge is a bidirectional communication layer that lets hybrid mobile apps combine native performance with web flexibility by allowing JavaScript to invoke native functions and native code to call back into the WebView, using techniques such as URL schemes, injected APIs, and platform‑specific evaluateJavascript methods.

AndroidHybrid AppJSBridge
0 likes · 13 min read
Understanding JSBridge in Hybrid Mobile App Development
Architect's Guide
Architect's Guide
Apr 11, 2024 · Frontend Development

Comprehensive Survey of File Preview Solutions: Frontend and Backend Approaches

This article surveys the full range of file preview options—including commercial services, front‑end JavaScript libraries for PPTX, PDF, DOCX and XLSX, and server‑side conversion tools like OpenOffice, kkFileView and OnlyOffice—providing code examples, pros and cons, and practical recommendations for developers.

FrontendJavaScriptdocument-conversion
0 likes · 17 min read
Comprehensive Survey of File Preview Solutions: Frontend and Backend Approaches
21CTO
21CTO
Apr 11, 2024 · Frontend Development

Discover the Fastest‑Growing JavaScript/TypeScript Repos of 2023

This article highlights the five most rapidly rising JavaScript/TypeScript open‑source projects on GitHub in 2023—LangChain, Wasp, Resend, Nebuly, and Formbricks—explaining their purpose, key features, and why developers are flocking to them today.

AIGitHubJavaScript
0 likes · 7 min read
Discover the Fastest‑Growing JavaScript/TypeScript Repos of 2023
HelloTech
HelloTech
Apr 10, 2024 · Artificial Intelligence

An Overview of LangChain: Architecture, Core Components, and Code Examples

LangChain is an open‑source framework that provides Python and JavaScript SDKs, templates, and services such as LangServe and LangSmith to compose models, embeddings, prompts, indexes, memory, chains, and agents via a concise expression language, enabling rapid prototyping, debugging, and deployment of LLM‑driven applications.

AI engineeringAgentsJavaScript
0 likes · 19 min read
An Overview of LangChain: Architecture, Core Components, and Code Examples
JD Tech
JD Tech
Apr 3, 2024 · Backend Development

Understanding JavaScript Engines: QuickJS, V8, TurboFan, and Integration with libuv

This article provides a comprehensive technical overview of JavaScript language standards, the architecture and optimization techniques of major JavaScript engines such as V8 and TurboFan, introduces the lightweight QuickJS engine with its features, file layout and memory management, and demonstrates how to embed QuickJS with libuv for asynchronous I/O using detailed C code examples.

C APIEmbeddingEngine
0 likes · 15 min read
Understanding JavaScript Engines: QuickJS, V8, TurboFan, and Integration with libuv
ByteFE
ByteFE
Apr 2, 2024 · Frontend Development

Advanced Tooltip Configuration and Customization in VChart

This article explains the fundamentals of VChart tooltips, demonstrates how to enable enterable tooltips with Amazon‑style safety triangles, shows flexible content and style patterns, and provides methods for custom DOM manipulation and fully custom tooltip handlers to meet diverse frontend data‑visualisation needs.

FrontendJavaScriptVChart
0 likes · 20 min read
Advanced Tooltip Configuration and Customization in VChart
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Mar 29, 2024 · Frontend Development

Exploring Modern Front‑End Techniques: Chrome Extensions, Vite, Husky, and HTTP/3

This article surveys current front‑end innovations, covering Chrome extension development, using Husky for Git‑hook scripts, the clever architecture of Vite, new JavaScript operators (?., ??, ??=), the upcoming HTTP/3 protocol, 2024 front‑end technology trends, and an invitation to join a leading front‑end team.

2024 trendsChrome extensionsFrontend
0 likes · 4 min read
Exploring Modern Front‑End Techniques: Chrome Extensions, Vite, Husky, and HTTP/3
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 29, 2024 · Frontend Development

Practical Frontend Techniques: Vite Auto Routing, await-to-js Source Walkthrough, URL Parameter Handling, Controlling forEach Loops, and Singleton Request Management

This article presents practical frontend solutions, including automatic route generation in Vite projects using unplugin-vue-router, a detailed source analysis of the await‑to‑js error‑handling wrapper, methods for extracting URL parameters, techniques to terminate or replace forEach loops, and patterns for avoiding duplicate component requests.

FrontendJavaScriptSingleton
0 likes · 17 min read
Practical Frontend Techniques: Vite Auto Routing, await-to-js Source Walkthrough, URL Parameter Handling, Controlling forEach Loops, and Singleton Request Management
HelloTech
HelloTech
Mar 28, 2024 · Backend Development

Introduction to Node.js and Comparison of Version Management Tools (NVM, N, Volta)

Node.js extends JavaScript to the server, offering a lightweight, event‑driven runtime that front‑end developers use for APIs, tooling, and SSR, while version‑management tools like NVM, N, and Volta simplify installing and switching multiple Node versions, each with distinct strengths in maturity, speed, and project‑level automation.

JavaScriptNVMNode.js
0 likes · 16 min read
Introduction to Node.js and Comparison of Version Management Tools (NVM, N, Volta)
21CTO
21CTO
Mar 26, 2024 · Frontend Development

5 Exciting JavaScript Features Set to Transform 2024

This article explores five highly anticipated JavaScript proposals—including the Temporal API, Pipe Operator, Record & Tuple, RegExp v flag, and Decorators—detailing their motivations, core syntax, and example code as they move toward inclusion in the upcoming ECMAScript release.

DecoratorECMAScriptJavaScript
0 likes · 15 min read
5 Exciting JavaScript Features Set to Transform 2024
Shepherd Advanced Notes
Shepherd Advanced Notes
Mar 24, 2024 · Frontend Development

Getting Started with Vue: What Is Vue and How to Install It

This article introduces Vue as a progressive JavaScript framework, explains its core features such as reactive data binding, component‑based development, and virtual DOM, and walks through installation methods, a simple counter example, and a brief comparison with React and Angular.

ComparisonComponentFrontend
0 likes · 8 min read
Getting Started with Vue: What Is Vue and How to Install It
Architect
Architect
Mar 23, 2024 · Information Security

How to Secure Front‑End JavaScript: Encryption, Obfuscation, and Anti‑Debugging Techniques

This article explains why protecting client‑side JavaScript is essential, describes interface signing, outlines common compression, obfuscation and encryption methods—including variable, string, property and control‑flow tricks—introduces Emscripten/WebAssembly protection, reviews practical tools, and details debugging, anti‑debugging and counter‑measures for front‑end security.

Anti-debuggingEncryptionFront-end security
0 likes · 18 min read
How to Secure Front‑End JavaScript: Encryption, Obfuscation, and Anti‑Debugging Techniques
Open Source Tech Hub
Open Source Tech Hub
Mar 21, 2024 · Backend Development

Mastering HTTP Chunked Transfer Encoding with Workerman and JavaScript

This guide explains the HTTP chunked transfer encoding mechanism, details its format, and provides a complete PHP Workerman server and JavaScript client implementation to stream data chunk‑by‑chunk, including installation steps, code examples, and expected output.

Backend DevelopmentChunked Transfer EncodingHTTP
0 likes · 9 min read
Mastering HTTP Chunked Transfer Encoding with Workerman and JavaScript
php Courses
php Courses
Mar 20, 2024 · Frontend Development

Comprehensive TypeScript Course Outline: Basics to Advanced Topics

This short TypeScript course provides a structured syllabus covering fundamental concepts, development environment setup, data types, classes, generics, and module organization, enabling learners to progressively master both core and advanced features of the language.

CourseJavaScriptTypeScript
0 likes · 2 min read
Comprehensive TypeScript Course Outline: Basics to Advanced Topics
php Courses
php Courses
Mar 11, 2024 · Backend Development

How to Implement Taxi Trajectory Display Using PHP and Baidu Maps API

This tutorial demonstrates how to build a taxi trajectory visualization by creating a MySQL table for track data, writing a PHP script to retrieve the data as JSON, and using Baidu Maps JavaScript API in an HTML page to render the moving paths with interactive features.

Baidu MapsJavaScriptMySQL
0 likes · 6 min read
How to Implement Taxi Trajectory Display Using PHP and Baidu Maps API
Java Architect Essentials
Java Architect Essentials
Mar 9, 2024 · Frontend Development

Typical JavaScript Bundle Sizes of Popular Websites in 2024

In 2024, a survey of popular websites shows that uncompressed JavaScript bundle sizes vary widely—from as small as 0.2 MB for Wikipedia to over 12 MB for sites like YouTube and Booking.com—highlighting the importance of performance awareness in modern frontend development.

2024FrontendJavaScript
0 likes · 4 min read
Typical JavaScript Bundle Sizes of Popular Websites in 2024
HelloTech
HelloTech
Mar 7, 2024 · Frontend Development

Implementation of Driver Authentication Video Capture Using WebRTC and RecordRTC

The project implements a cross‑platform driver authentication video capture module by using WebRTC to access rear‑facing cameras, RecordRTC to record a five‑second clip with custom constraints, and uploading the resulting Blob to Alibaba Cloud OSS for OCR, ensuring consistent functionality across native apps, mini‑programs, and external H5 pages.

Front-endH5JavaScript
0 likes · 10 min read
Implementation of Driver Authentication Video Capture Using WebRTC and RecordRTC
Goodme Frontend Team
Goodme Frontend Team
Mar 7, 2024 · Frontend Development

Must‑Read Frontend Insights & Tools You Can’t Miss This Week

This roundup curates the latest frontend resources—including web performance snippets, Deno’s new JSR registry, Vercel’s AI SDK, VSCode source navigation tricks, architecture design lessons, a Canvas rendering engine guide, React nested component pitfalls, Bilibili analytics platform case study, and product design simplification tips—providing practical knowledge for developers and product teams.

CanvasFrontendJavaScript
0 likes · 6 min read
Must‑Read Frontend Insights & Tools You Can’t Miss This Week
Sohu Tech Products
Sohu Tech Products
Mar 6, 2024 · Fundamentals

JavaScript Design Patterns: A Comprehensive Guide

This guide explains JavaScript design patterns—creational, structural, and behavioral—detailing common examples such as Singleton, Factory, Module, Decorator, Observer, Strategy, and more, and shows how applying these proven solutions can make code clearer, more flexible, maintainable, and scalable.

Behavioral PatternsCreational PatternsDesign Patterns
0 likes · 28 min read
JavaScript Design Patterns: A Comprehensive Guide
Huolala Tech
Huolala Tech
Mar 5, 2024 · Frontend Development

How PageSpy Extends Frontend Debugging to Mini‑Programs and Adds Session Replay

PageSpy, now with over 3000 GitHub stars, introduces multi‑platform mini‑program debugging for WeChat, Alipay and UniApp, plus a session‑replay feature that records network requests and console logs, enabling developers to export, share, and replay logs for efficient bug investigation.

JavaScriptMini ProgramPageSpy
0 likes · 7 min read
How PageSpy Extends Frontend Debugging to Mini‑Programs and Adds Session Replay
Java Captain
Java Captain
Mar 1, 2024 · Frontend Development

A 5‑Minute Introduction to JavaScript: Basics, Core Features, and Quick Start

This article provides a concise five‑minute overview of JavaScript, covering its origins, dynamic typing, prototype‑based OOP, browser compatibility, essential syntax such as variables, conditionals, loops, functions, and practical use cases like dynamic content, interactivity, game development, and SPA creation, plus learning resources.

FrontendJavaScriptProgramming Basics
0 likes · 4 min read
A 5‑Minute Introduction to JavaScript: Basics, Core Features, and Quick Start
JD Tech
JD Tech
Feb 26, 2024 · Backend Development

Comprehensive Guide to Large File Upload: Principles, Implementation, and Optimizations

This article explains the challenges of uploading large files over 100 MB, compares them with regular uploads, details the core principles and common problems, and presents complete front‑end chunking and back‑end merging implementations with resumable and instant upload techniques, plus mature solution recommendations.

BackendChunked UploadFrontend
0 likes · 14 min read
Comprehensive Guide to Large File Upload: Principles, Implementation, and Optimizations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 25, 2024 · Frontend Development

Frontend Development Trends and Recommendations for 2024

2024 brings rapid AI advances and evolving front‑end technologies, urging developers to adopt TypeScript, master micro‑frontend architectures, embrace server‑side rendering with Next.js, reconsider low‑code and Flutter, and explore full‑stack frameworks, while providing curated resources and insights for staying competitive.

FrontendFull-StackJavaScript
0 likes · 14 min read
Frontend Development Trends and Recommendations for 2024
Programmer DD
Programmer DD
Feb 24, 2024 · Frontend Development

How Big Are Real‑World JavaScript Bundles? Surprising Sizes of Popular Sites

A 2024 survey of uncompressed JavaScript bundle sizes across various popular websites reveals that many sites far exceed the expected 1‑5 MB range, with static sites like Wikipedia at just 0.2 MB and multimedia giants like YouTube reaching 12 MB, highlighting the wide performance spectrum in modern web development.

JavaScriptWeb PerformanceWebsite Analysis
0 likes · 4 min read
How Big Are Real‑World JavaScript Bundles? Surprising Sizes of Popular Sites