Tagged articles
48 articles
Page 1 of 1
php Courses
php Courses
Dec 16, 2025 · Backend Development

Master PHP Callbacks: Define, Implement, and Apply Them Effectively

This guide explains what PHP callbacks are, shows how to define them using anonymous functions or function name strings, demonstrates their implementation as function parameters and class methods, and outlines common scenarios such as event handling, asynchronous processing, and array sorting or filtering.

AsynchronousClass MethodPHP
0 likes · 4 min read
Master PHP Callbacks: Define, Implement, and Apply Them Effectively
FunTester
FunTester
Nov 7, 2025 · Frontend Development

Prevent Memory Leaks and Master Event Handling in JavaScript

This article explains how forgetting to remove event listeners can cause memory leaks, demonstrates proper listener cleanup, addresses closure pitfalls in loops, introduces event delegation, and provides practical debounce, throttle, naming conventions, and debugging techniques for robust frontend development.

DebounceThrottleevent delegation
0 likes · 16 min read
Prevent Memory Leaks and Master Event Handling in JavaScript
FunTester
FunTester
Nov 4, 2025 · Frontend Development

Mastering DOM Events: From Basics to Advanced Event Flow

This article explains the fundamentals of DOM events, compares three ways to attach listeners, shows how to add and remove handlers, details event bubbling and capturing phases, and provides practical tips and common pitfalls for robust frontend interaction design.

DOMEvent PropagationJavaScript
0 likes · 8 min read
Mastering DOM Events: From Basics to Advanced Event Flow
Python Programming Learning Circle
Python Programming Learning Circle
Jun 10, 2025 · Frontend Development

Master PyQt5 Event Handling and Timers: From Signals to Custom Filters

This article explains PyQt5's event system, covering both high‑level signal‑slot mechanisms and low‑level event handling, lists common event types, demonstrates five event‑processing techniques, and provides step‑by‑step examples of implementing custom event filters and timers using QTimer and timerEvent.

PyQt5Python GUITimers
0 likes · 10 min read
Master PyQt5 Event Handling and Timers: From Signals to Custom Filters
Python Programming Learning Circle
Python Programming Learning Circle
May 7, 2025 · Frontend Development

Comprehensive PyQt5 Tutorial: Environment Setup, Basic Code Structure, Events, Signals & Slots, and QWidget Usage

This article provides a step‑by‑step guide to using PyQt5 for Python GUI development, covering installation, designer integration, converting .ui files to Python code, basic window structure, QObject concepts, event handling, signal‑slot mechanisms, common widget methods, and practical examples with full code snippets.

GUIPyQt5Qt
0 likes · 19 min read
Comprehensive PyQt5 Tutorial: Environment Setup, Basic Code Structure, Events, Signals & Slots, and QWidget Usage
Linux Code Review Hub
Linux Code Review Hub
Mar 22, 2025 · Fundamentals

Inside Linux inotify: How the Kernel Tracks File Changes

This article dissects Linux’s inotify mechanism, detailing the kernel data structures, system‑call flow, and functions that generate and deliver file‑system event notifications, complete with code walkthroughs and diagrams. It explains how read/write operations trigger event creation, how events are queued in inotify_device, and how user‑space processes retrieve them via read and poll interfaces.

File MonitoringLinux kernelevent-handling
0 likes · 14 min read
Inside Linux inotify: How the Kernel Tracks File Changes
Test Development Learning Exchange
Test Development Learning Exchange
Aug 15, 2024 · Backend Development

APScheduler Advanced Features and Configuration Examples

This article provides comprehensive examples of APScheduler's advanced features including database storage, multi-threading/multi-processing, event listeners, dynamic task management, external event triggers, priority settings, logging, advanced triggers, and timezone support.

APSchedulerBackend DevelopmentCron Triggers
0 likes · 6 min read
APScheduler Advanced Features and Configuration Examples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 13, 2024 · Backend Development

Mastering Spring Boot Event Handling and Asynchronous Processing

Learn how Spring Boot 2.7.16 leverages ApplicationEvent and ApplicationListener for synchronous event handling, then explore two asynchronous approaches—using @Async with @EventListener and custom thread pools with a bespoke ApplicationEventMulticaster—complete with code examples and configuration details.

ApplicationListenerAsynchronousJava
0 likes · 5 min read
Mastering Spring Boot Event Handling and Asynchronous Processing
政采云技术
政采云技术
Jan 30, 2024 · Cloud Native

Understanding the Core Workflow of Kubernetes Informer in client-go

This article explains the internal workflow of the Kubernetes informer package in client-go, covering its architecture, key components such as Reflector, DeltaFIFO, and Indexer, and provides a step‑by‑step code example that demonstrates how informers are created, registered, started, and used to handle watch events efficiently.

ControllerDeltaFIFOGo
0 likes · 19 min read
Understanding the Core Workflow of Kubernetes Informer in client-go
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 20, 2024 · Backend Development

Mastering Spring’s Event System: Decoupling, Asynchronous Handling, and Generic Events

This article explains Spring’s event mechanism, covering its observer‑based design, benefits such as decoupling and asynchronous handling, standard framework events, and advanced generic event techniques using subclassing or ResolvableTypeProvider to achieve type‑safe, flexible event publishing.

Backend DevelopmentGeneric TypesJava
0 likes · 7 min read
Mastering Spring’s Event System: Decoupling, Asynchronous Handling, and Generic Events
php Courses
php Courses
Nov 1, 2023 · Backend Development

Understanding PHP Closure Functions: Definition, Usage, and Examples

This article explains PHP closure functions, covering their definition, syntax, typical use cases such as event handling, asynchronous programming and functional programming, provides code examples, discusses advantages, cautions, and demonstrates how closures improve code clarity and flexibility.

Backend DevelopmentPHPclosure
0 likes · 4 min read
Understanding PHP Closure Functions: Definition, Usage, and Examples
php Courses
php Courses
Oct 28, 2023 · Backend Development

Understanding PHP Callback Functions: Definitions, Usage, and Examples

This article explains PHP callback functions, covering their definition, types such as regular, anonymous, and static methods, typical use cases like event handling, asynchronous and functional programming, and provides clear code examples with important precautions and advantages.

BackendPHPevent-handling
0 likes · 5 min read
Understanding PHP Callback Functions: Definitions, Usage, and Examples
php Courses
php Courses
Oct 28, 2023 · Backend Development

Understanding PHP Closure Functions: Definition, Usage, and Examples

This article explains PHP closure functions, covering their definition, typical use cases such as event handling, asynchronous and functional programming, detailed syntax examples, usage patterns, precautions, advantages, and a practical example of handling asynchronous results.

BackendPHPclosure
0 likes · 4 min read
Understanding PHP Closure Functions: Definition, Usage, and Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 10, 2023 · Frontend Development

Deep Dive into LeaferJS: Architecture, Rendering Performance, Update Mechanism, and Event Picking

This article analyses the LeaferJS canvas rendering engine, covering its lightweight node creation, core architecture, rendering pipeline, partial‑render optimization, and event‑picking mechanism, while providing code examples and performance insights for front‑end developers.

Canvas RenderingJavaScriptLeaferJS
0 likes · 14 min read
Deep Dive into LeaferJS: Architecture, Rendering Performance, Update Mechanism, and Event Picking
Test Development Learning Exchange
Test Development Learning Exchange
Sep 28, 2023 · Fundamentals

Observer Pattern and Publish‑Subscribe Pattern in Python with Practical Examples

This article explains the Observer and Publish‑Subscribe design patterns, compares their concepts and implementations, and provides ten practical Python code examples ranging from simple event notification to distributed messaging with libraries such as pubsub, redis, asyncio, Flask, threading, ZeroMQ, and PySide2.

Observer PatternPublish-Subscribeevent-handling
0 likes · 11 min read
Observer Pattern and Publish‑Subscribe Pattern in Python with Practical Examples
Sohu Tech Products
Sohu Tech Products
Sep 13, 2023 · Mobile Development

iOS Interaction Blocking: Intercepting User Events at UIApplication Level

To globally block all user interactions—including touches, motion, remote control, and press events—developers can subclass UIApplication and override its sendEvent: method, providing a disableUserInteraction: API with timed re‑enabling and a counter to safely manage concurrent disable requests.

Mobile DevelopmentObjective‑CSwift
0 likes · 8 min read
iOS Interaction Blocking: Intercepting User Events at UIApplication Level
Goodme Frontend Team
Goodme Frontend Team
Aug 11, 2023 · Frontend Development

Master AMap Integration with Reusable React Hooks and Responsive Info Windows

This article details how to integrate Gaode (AMap) maps into a React frontend, covering script and npm imports, reusable map hooks, responsive marker info windows, event handling strategies, rendering abstractions for various map entities, and addressing common pitfalls such as marker overlap, bubble penetration, and memory leaks.

AmapMap HooksReact
0 likes · 18 min read
Master AMap Integration with Reusable React Hooks and Responsive Info Windows
ByteFE
ByteFE
Apr 12, 2023 · Frontend Development

Design and Refactoring of the xGis 3D Map Event System and Picking Engine

This article details the background, problems, and comprehensive refactoring plan for the xGis web‑based 3D map library, covering event classification, API design, layer interaction proxy, CPU/GPU picking implementations, performance trade‑offs, and future optimization directions.

3D mappingCPUGPU
0 likes · 22 min read
Design and Refactoring of the xGis 3D Map Event System and Picking Engine
Sohu Tech Products
Sohu Tech Products
Feb 1, 2023 · Frontend Development

Using the New scrollend Event to Detect When Scrolling Stops

This article explains the newly supported scrollend event, how it replaces unreliable timer‑based scroll‑stop detection, shows practical code examples, lists the conditions under which it fires, discusses browser support, and provides a polyfill for broader compatibility.

JavaScriptWeb APIevent-handling
0 likes · 5 min read
Using the New scrollend Event to Detect When Scrolling Stops
New Oriental Technology
New Oriental Technology
Jun 17, 2022 · Frontend Development

Understanding JavaScript Throttle and Debounce: Concepts, Code Examples, and Practical Applications

This article explains the fundamental differences between JavaScript throttle and debounce techniques using an intuitive real-world analogy, provides clear code implementations, compares their execution behaviors, and demonstrates practical usage scenarios with the Lodash library for optimizing frontend event handling.

DebounceJavaScriptPerformance Optimization
0 likes · 7 min read
Understanding JavaScript Throttle and Debounce: Concepts, Code Examples, and Practical Applications
Tencent Cloud Developer
Tencent Cloud Developer
Oct 12, 2021 · Frontend Development

KonvaJS Architecture Design and Implementation Analysis

KonvaJS is a TypeScript‑based Canvas framework offering concise APIs and React/Vue bindings, built on a hierarchical Stage‑Layer‑Group‑Shape tree that manages DOM containers, batch rendering via requestAnimationFrame, off‑screen caching, color‑key hit detection, drag handling, filters, selectors, serialization, yet lacks dirty‑rectangle optimization for large‑scale shape updates.

Canvas frameworkFiltersKonvaJS
0 likes · 19 min read
KonvaJS Architecture Design and Implementation Analysis
Xianyu Technology
Xianyu Technology
Sep 15, 2021 · Mobile Development

Understanding Flutter Gesture System and Conflict Resolution

Flutter determines which widget handles a pointer by converting raw data into PointerEvents, hit‑testing the widget tree, and routing events through a GestureArena where recognizers compete, as illustrated by an image viewer that resolves conflicts between pinch‑zoom and horizontal drag using custom recognizers and boundary‑aware scrolling.

FlutterGestureArenaconflict resolution
0 likes · 8 min read
Understanding Flutter Gesture System and Conflict Resolution
Qingyun Technology Community
Qingyun Technology Community
Aug 9, 2021 · Frontend Development

Master Debounce and Throttle: When to Use Each in JavaScript

This article explains the concepts of debounce and throttle in JavaScript, illustrates their principles and typical use cases such as button submissions, search suggestions, window resize, and drag‑and‑drop, and provides practical implementations with code examples and options for immediate execution, timestamps, and timers.

DebounceJavaScriptPerformance Optimization
0 likes · 7 min read
Master Debounce and Throttle: When to Use Each in JavaScript
Python Crawling & Data Mining
Python Crawling & Data Mining
May 5, 2021 · Game Development

Master Pyglet: Build Games, Audio, and Video with Python

This tutorial walks you through installing pyglet, creating windows, adding text and images, handling keyboard and mouse events, processing input, and playing audio and video, providing a comprehensive guide to building lightweight Python games and multimedia applications.

Game DevelopmentPythonaudio
0 likes · 15 min read
Master Pyglet: Build Games, Audio, and Video with Python
ByteFE
ByteFE
Apr 19, 2021 · Frontend Development

Advanced TypeScript and React Patterns: Importing React, Functional Components, Hooks, Props, and Types

This guide covers the essential TypeScript knowledge for React development, demonstrating how to import React, declare functional components with React.FC, use core hooks such as useState, useRef, useEffect, useMemo, create custom hooks, handle defaultProps, choose between type and interface, type props, manage forms and events, work with operators, and apply generic patterns for reusable components.

PropsReactTypeScript
0 likes · 23 min read
Advanced TypeScript and React Patterns: Importing React, Functional Components, Hooks, Props, and Types
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 11, 2020 · Fundamentals

Understanding the Android Input Subsystem: Definitions, Initialization, Registration, Matching, and Event Transmission

The Android input subsystem, built on the Linux kernel, abstracts devices with input_dev structures, handlers with input_handler callbacks, and bridges them via input_handle, initializing core services, registering devices and handlers, matching them, transmitting events through buffers, and delivering them to user space via evdev and the InputFlinger framework.

AndroidDevice DriversInput Subsystem
0 likes · 10 min read
Understanding the Android Input Subsystem: Definitions, Initialization, Registration, Matching, and Event Transmission
JavaEdge
JavaEdge
Sep 1, 2020 · Backend Development

Why Redis Uses a Single Thread Model: File Event Handlers & I/O Multiplexing

This article explains how Redis implements a single‑threaded architecture by using a file event handler built on non‑blocking I/O multiplexing (select, epoll, evport, kqueue), detailing socket event abstraction, the I/O multiplexing program, event dispatcher, and the mapping of various socket operations to specific handlers.

I/O MultiplexingRedisSingle Thread
0 likes · 7 min read
Why Redis Uses a Single Thread Model: File Event Handlers & I/O Multiplexing
360 Tech Engineering
360 Tech Engineering
Dec 26, 2019 · Frontend Development

Developing Chimee Video Player Plugins with React: A Practical Guide

This article explains how to develop extensible Chimee H5 video player plugins using React, covering plugin specifications, code examples, integration of React components via Context, event handling, and strategies for managing asynchronous behavior and plugin ordering.

Context APIPlugin DevelopmentReact
0 likes · 9 min read
Developing Chimee Video Player Plugins with React: A Practical Guide
AutoHome Frontend
AutoHome Frontend
Aug 1, 2019 · Frontend Development

8 Hidden DOM Features You Didn’t Know Exist (And How to Use Them)

This article reveals eight lesser‑known DOM and Web API features—such as addEventListener options, smooth scrollTo, optional timer arguments, defaultChecked, normalize/wholeText, insertAdjacent methods, event.detail, and scrollHeight/scrollWidth—explaining their purpose, browser support, and providing practical code examples.

DOMJavaScriptWeb API
0 likes · 17 min read
8 Hidden DOM Features You Didn’t Know Exist (And How to Use Them)
360 Tech Engineering
360 Tech Engineering
Jun 5, 2019 · Frontend Development

Deep Dive into Modern Web Browser Architecture: Architecture, Navigation, Rendering, and Interaction

This article provides a comprehensive, step‑by‑step exploration of modern browsers—covering Chrome’s multi‑process architecture, the navigation pipeline from URL entry to page load, the rendering stages (HTML parsing, style calculation, layout, painting, compositing), and how user interactions are processed and optimized.

Browser ArchitectureRendering PipelineWeb Performance
0 likes · 23 min read
Deep Dive into Modern Web Browser Architecture: Architecture, Navigation, Rendering, and Interaction
HomeTech
HomeTech
Nov 29, 2018 · Frontend Development

Using TypeScript with React: Types, Generics, and Best Practices

This article explains how to integrate TypeScript with React, covering type definitions, generic components, event handling, utility types, and best practices such as using declaration files, avoiding any, and leveraging TypeScript’s advanced type utilities to improve code safety and developer productivity.

GenericsReactTypeScript
0 likes · 17 min read
Using TypeScript with React: Types, Generics, and Best Practices
21CTO
21CTO
Oct 22, 2018 · Frontend Development

Stop Unnecessary React Re‑renders: Cache Event Handlers and Master Reference Equality

This article explains how JavaScript reference equality for objects and functions affects React's shallow prop and state comparison, shows common pitfalls that cause needless re‑renders, and provides practical techniques—such as defining functions outside components and caching event listeners—to dramatically improve rendering performance.

JavaScriptReactReference Equality
0 likes · 9 min read
Stop Unnecessary React Re‑renders: Cache Event Handlers and Master Reference Equality
iQIYI Technical Product Team
iQIYI Technical Product Team
Aug 10, 2018 · Mobile Development

Evolution of iQIYI Mobile Client Dynamic Page Rendering: From Card 1.0 to Card 4.0

iQIYI’s mobile client progressed from server‑assembled JSON cards (Card 1.0) through reusable component cards (2.0), template‑driven blocks (3.0), to a big‑frontend XML‑flex architecture with scriptable logic and hot‑swap tools (Card 4.0), now replacing earlier versions and slated for broader rollout and open‑source release.

Dynamic UIXML Layoutcard architecture
0 likes · 12 min read
Evolution of iQIYI Mobile Client Dynamic Page Rendering: From Card 1.0 to Card 4.0
Meituan Technology Team
Meituan Technology Team
Oct 26, 2017 · Backend Development

Domain-Driven Design Q&A: Event Handling, Service Design, and Domain Boundaries

The article records a Meituan‑Dianping Q&A on Domain‑Driven Design, where engineers discuss using domain events with transactions, designing RPC interfaces, separating domain and application layers, handling cross‑aggregate operations, and defining bounded contexts, illustrating how DDD guides microservice architecture and business modeling.

CQRSDDDDomain-Driven Design
0 likes · 6 min read
Domain-Driven Design Q&A: Event Handling, Service Design, and Domain Boundaries
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 16, 2017 · Frontend Development

Master Drag-and-Drop in JavaScript: Three Ways to Build a Reusable Drag Object

This article walks you through three approaches to implement drag-and-drop in JavaScript—plain code, a native object wrapper, and a jQuery extension—covering essential concepts like transform compatibility, event handling, position calculations, and object-oriented encapsulation, with detailed code examples and visual diagrams.

DOMDrag-and-DropObject-Oriented
0 likes · 12 min read
Master Drag-and-Drop in JavaScript: Three Ways to Build a Reusable Drag Object
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