Tag

Observer

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Apr 10, 2025 · Backend Development

Common Design Patterns in PHP Web Service Development

This article introduces essential design patterns for PHP web service development, such as Factory, Singleton, Observer, Strategy, and Dependency Injection, explains their implementation with code examples, discusses their benefits for code reuse, maintainability, and scalability, and offers guidance on selecting appropriate patterns in modern PHP frameworks.

Factory PatternObserverPHP
0 likes · 8 min read
Common Design Patterns in PHP Web Service Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 27, 2025 · Fundamentals

Master 7 Essential Java Design Patterns with Real-World Spring Boot Examples

This article introduces seven core design patterns—Singleton, Factory, Builder, Strategy, Observer, Proxy, and Template—explaining their purpose, typical use cases, and providing complete Java code examples that integrate with Spring Boot 3 and Java 21, helping developers write cleaner, more maintainable software.

BuilderFactoryJava
0 likes · 20 min read
Master 7 Essential Java Design Patterns with Real-World Spring Boot Examples
Tencent Cloud Developer
Tencent Cloud Developer
Aug 30, 2024 · Fundamentals

Overview of 10 Classic Software Design Patterns with Go Examples

The article presents ten classic software design patterns—Singleton, Factory, Observer, Decorator, Strategy, Adapter, Proxy, Command, Composite, and Iterator—explaining each pattern’s features, advantages, disadvantages, typical applications, and providing concrete Go code examples to illustrate their implementation.

FactoryGoObserver
0 likes · 36 min read
Overview of 10 Classic Software Design Patterns with Go Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 20, 2024 · Mobile Development

Hooking Android Looper Observer for Message Timing Monitoring and Bypassing Hidden APIs

This article explains how to use reflection and dynamic proxies to hook the hidden Android Looper.Observer API for detailed message‑dispatch timing, demonstrates code examples for installing and removing the hook, discusses workarounds for hidden‑API restrictions and the .dex loading changes introduced in Android 14.

AndroidHidden APIHook
0 likes · 13 min read
Hooking Android Looper Observer for Message Timing Monitoring and Bypassing Hidden APIs
php中文网 Courses
php中文网 Courses
Jan 22, 2024 · Backend Development

Common Design Patterns in PHP: Singleton, Factory, Observer, and Adapter

This article introduces four essential design patterns—Singleton, Factory, Observer, and Adapter—explaining their concepts and providing complete PHP code examples to demonstrate how each pattern can be implemented to create maintainable, extensible, and flexible applications.

FactoryObserverPHP
0 likes · 7 min read
Common Design Patterns in PHP: Singleton, Factory, Observer, and Adapter
php中文网 Courses
php中文网 Courses
Jan 15, 2024 · Backend Development

Common Design Patterns in PHP: Singleton, Factory, Observer, and Adapter

This article introduces four essential PHP design patterns—Singleton, Factory, Observer, and Adapter—explaining their purpose, providing complete code examples, and showing how they improve code maintainability, extensibility, and flexibility in backend development.

FactoryObserveradapter
0 likes · 7 min read
Common Design Patterns in PHP: Singleton, Factory, Observer, and Adapter
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 2, 2024 · Mobile Development

Hooking Android Looper Observer for Message Timing Monitoring and Bypassing Hidden APIs

This article explains how to use Android's hidden Looper$Observer API via reflection and dynamic proxies to monitor long‑running messages on the main thread, classify their execution time, and bypass hidden‑API restrictions, with complete code examples and practical tips for Android 10‑14.

AndroidHidden APILooper
0 likes · 11 min read
Hooking Android Looper Observer for Message Timing Monitoring and Bypassing Hidden APIs
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 30, 2023 · Information Security

Configuring Transport Encryption for OceanBase (OBServer and ODP)

This guide explains how to prepare the environment, enable SSL transport encryption for OceanBase OBServer and ODP via OBProxy, configure certificates and whitelist settings, and verify the encryption using MySQL and RPC ports, while highlighting common pitfalls and reference links.

OBproxyObserverOceanBase
0 likes · 7 min read
Configuring Transport Encryption for OceanBase (OBServer and ODP)
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 1, 2023 · Operations

Guide to Expanding an OceanBase Cluster: Adding Zones and Resources

This article provides a step‑by‑step guide for scaling an OceanBase cluster, covering both white‑screen and black‑screen methods to add zones (replicas) and resources (OBServers), including configuration file preparation, deployment commands, zone addition, verification queries, and procedures for both expansion and contraction.

Cluster ScalingDatabase OperationsObserver
0 likes · 12 min read
Guide to Expanding an OceanBase Cluster: Adding Zones and Resources
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 22, 2022 · Databases

Debugging OceanBase Observer with VSCode and GDB: A Step‑by‑Step Guide

This article provides a comprehensive, step‑by‑step tutorial on setting up a local VSCode environment, configuring remote GDB, building and deploying the OceanBase observer, and performing source‑level debugging of the observer binary on Linux servers.

Distributed DatabaseGDBObserver
0 likes · 9 min read
Debugging OceanBase Observer with VSCode and GDB: A Step‑by‑Step Guide
macrozheng
macrozheng
Dec 17, 2022 · Fundamentals

Master 9 Essential Design Patterns for Cleaner Java Code

This article explains nine widely used design patterns—Singleton, Builder, Factory, Strategy, Template Method, Chain of Responsibility, Proxy, Adapter, and Observer—detailing their concepts, typical use‑cases, and concrete Java code examples drawn from popular open‑source projects such as Spring, Dubbo, MyBatis and Guava.

BuilderFactoryJava
0 likes · 27 min read
Master 9 Essential Design Patterns for Cleaner Java Code
macrozheng
macrozheng
Oct 27, 2022 · Fundamentals

Unlock Cleaner Code: Master 6 Essential Design Patterns with Real Java Examples

This article explores six core design patterns—Strategy, Chain of Responsibility, Template Method, Observer, Factory, and Singleton—explaining their real‑world business scenarios, underlying principles, and providing complete Java implementations to help developers write more maintainable, extensible, and principle‑compliant code.

JavaObserverStrategy
0 likes · 27 min read
Unlock Cleaner Code: Master 6 Essential Design Patterns with Real Java Examples
Code Ape Tech Column
Code Ape Tech Column
Aug 19, 2022 · Backend Development

Refactoring Classic Design Patterns with Java 8 Features: Strategy, Template Method, Observer, and Chain of Responsibility

This article demonstrates how Java 8's lambda expressions and functional interfaces can simplify traditional implementations of the Strategy, Template Method, Observer, and Chain‑of‑Responsibility design patterns by reducing boilerplate code and consolidating multiple classes into concise functional constructs.

JavaJava8Observer
0 likes · 11 min read
Refactoring Classic Design Patterns with Java 8 Features: Strategy, Template Method, Observer, and Chain of Responsibility
IT Architects Alliance
IT Architects Alliance
Mar 28, 2022 · Fundamentals

A Humorous Introduction to 23 Classic Design Patterns

This article humorously explains 23 classic software design patterns—such as Factory Method, Builder, Abstract Factory, Prototype, Singleton, Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy, Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, and Visitor—using everyday dating analogies to illustrate their intent and structure.

BuilderFactory MethodObserver
0 likes · 19 min read
A Humorous Introduction to 23 Classic Design Patterns
vivo Internet Technology
vivo Internet Technology
Jan 12, 2022 · Mobile Development

Pitfalls of LiveData Observation and Lambda Optimizations in Android MVVM

When observing LiveData in Android MVVM, developers may be misled by log deduplication, Java‑8 lambda optimizations that reuse a single Observer, automatic replay of the latest value to new observers, and shared ViewModel navigation bugs, but using an Event wrapper, reflection to reset version counters, or switching to Kotlin Flow/SharedFlow can safely avoid these pitfalls.

AndroidJavaKotlin
0 likes · 20 min read
Pitfalls of LiveData Observation and Lambda Optimizations in Android MVVM
Selected Java Interview Questions
Selected Java Interview Questions
Nov 20, 2021 · Backend Development

Design Pattern Summary in the Spring Framework

This article provides a comprehensive overview of the design patterns used in Spring, including Simple Factory, Factory Method, Singleton, Adapter, Decorator, Proxy, Observer, Strategy, and Template Method, with explanations of their implementation, principles, and practical code examples.

BeanFactoryFactory MethodObserver
0 likes · 13 min read
Design Pattern Summary in the Spring Framework
Code Ape Tech Column
Code Ape Tech Column
Nov 12, 2021 · Fundamentals

Common Design Patterns in Java: Strategy, Chain of Responsibility, Template Method, Observer, Factory, and Singleton

This article introduces several classic Java design patterns—including Strategy, Chain of Responsibility, Template Method, Observer, Factory, and Singleton—explaining their business scenarios, core definitions, and providing complete code examples to demonstrate how each pattern improves code maintainability, extensibility, and adherence to SOLID principles.

FactoryJavaObserver
0 likes · 22 min read
Common Design Patterns in Java: Strategy, Chain of Responsibility, Template Method, Observer, Factory, and Singleton
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 27, 2021 · Fundamentals

Common Design Patterns in Daily Development: Strategy, Chain of Responsibility, Template Method, Observer, Factory, and Singleton

This article introduces several classic design patterns—Strategy, Chain of Responsibility, Template Method, Observer, Factory, and Singleton—explaining their business scenarios, core definitions, Java implementations, and how to apply them in real-world projects to improve code maintainability and extensibility.

FactoryJavaObserver
0 likes · 27 min read
Common Design Patterns in Daily Development: Strategy, Chain of Responsibility, Template Method, Observer, Factory, and Singleton
Sohu Tech Products
Sohu Tech Products
May 5, 2021 · Fundamentals

Common Design Patterns in Kotlin: Singleton, Factory, Builder, Prototype, Decorator, Strategy, Template Method, and Observer

This article introduces several classic design patterns—Singleton, Factory, Builder, Prototype, Decorator, Strategy, Template Method, and Observer—showing how they can be implemented concisely in Kotlin with code examples, while also explaining the underlying language features such as object declarations, companion objects, delegation, lazy initialization, and higher‑order functions.

BuilderFactoryKotlin
0 likes · 23 min read
Common Design Patterns in Kotlin: Singleton, Factory, Builder, Prototype, Decorator, Strategy, Template Method, and Observer