Tag

Event Handling

1 views collected around this technical thread.

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.

Event HandlingPyQt5Python GUI
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.

Event HandlingGUIPyQt5
0 likes · 19 min read
Comprehensive PyQt5 Tutorial: Environment Setup, Basic Code Structure, Events, Signals & Slots, and QWidget Usage
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.

Cron TriggersDatabase StorageEvent Handling
0 likes · 6 min read
APScheduler Advanced Features and Configuration Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 24, 2024 · Frontend Development

Implementing a Keyboard‑Attached Input Using VisualViewport Events

This article explains how to create an input element that sticks to the on‑screen keyboard by listening to visualViewport resize/scroll and focus events, calculating the keyboard’s top position, and dynamically adjusting the input’s CSS transform, with full TypeScript code examples.

Event HandlingJavaScriptfrontend
0 likes · 9 min read
Implementing a Keyboard‑Attached Input Using VisualViewport Events
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.

ApplicationListenerEvent HandlingJava
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.

Client-goControllerDeltaFIFO
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.

Event HandlingGeneric 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.

Anonymous FunctionClosureEvent Handling
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.

Event HandlingPHPasynchronous
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.

ClosureEvent HandlingPHP
0 likes · 4 min read
Understanding PHP Closure Functions: Definition, Usage, and Examples
php中文网 Courses
php中文网 Courses
Oct 13, 2023 · Backend Development

Implementing Debounce Technique in PHP to Improve System Performance

This article explains how to use a debounce function in PHP to compress multiple rapid event triggers into a single execution, thereby reducing system load and improving performance, and provides complete code examples demonstrating its implementation and effect.

DebounceEvent HandlingPHP
0 likes · 4 min read
Implementing Debounce Technique in PHP to Improve System Performance
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 RenderingEvent HandlingJavaScript
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.

Event HandlingObserver PatternPublish-Subscribe
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.

Event HandlingSwiftUIApplication
0 likes · 8 min read
iOS Interaction Blocking: Intercepting User Events at UIApplication Level
Test Development Learning Exchange
Test Development Learning Exchange
Aug 2, 2023 · Fundamentals

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

This article explains the concepts, differences, and implementation approaches of the Observer and Publish‑Subscribe design patterns, and provides ten practical Python code examples covering GUI, networking, asynchronous, and distributed scenarios.

Asynchronous ProgrammingEvent HandlingObserver Pattern
0 likes · 11 min read
Observer Pattern and Publish‑Subscribe Pattern in Python with Practical Code Examples
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 mappingCPUEvent Handling
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.

Event HandlingJavaScriptWeb API
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.

DebounceEvent HandlingJavaScript
0 likes · 7 min read
Understanding JavaScript Throttle and Debounce: Concepts, Code Examples, and Practical Applications
Beike Product & Technology
Beike Product & Technology
Dec 17, 2021 · Frontend Development

Understanding React's Event Mechanism: Delegation, Synthetic Events, and Source Code Flow

This article explains React's event system, covering how onClick events are delegated to the document, processed through synthetic events, and handled via the fiber architecture, plugin registry, and priority-based dispatching in React 16.13.1.

Event DelegationEvent HandlingFiber
0 likes · 10 min read
Understanding React's Event Mechanism: Delegation, Synthetic Events, and Source Code Flow
政采云技术
政采云技术
Oct 12, 2021 · Frontend Development

Debouncing and Throttling: Concepts, Applications, and Implementation Analysis

This article explains the concepts of debouncing and throttling in frontend development, their differences, practical applications, and provides detailed analysis of Lodash's implementation with code examples.

Event HandlingJavaScriptLodash
0 likes · 15 min read
Debouncing and Throttling: Concepts, Applications, and Implementation Analysis