Tag

Object-Oriented Design

0 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Jan 3, 2025 · Fundamentals

How the Adapter Pattern Seamlessly Integrates PayPal and Stripe Payments

This article explains the Adapter design pattern, demonstrates step‑by‑step how to wrap existing PayPal payment code with a Stripe adapter in TypeScript, and discusses best practices, common pitfalls, and extensions such as factories and nested adapters for flexible payment integration.

Adapter PatternObject-Oriented DesignPayment Integration
0 likes · 13 min read
How the Adapter Pattern Seamlessly Integrates PayPal and Stripe Payments
Tencent Cloud Developer
Tencent Cloud Developer
Dec 19, 2023 · Fundamentals

Object-Oriented Analysis and Design: Exception Handling, RAII, and Error‑Code Practices

The article explains how object‑oriented analysis and design should treat exceptions by using RAII for automatic resource cleanup, avoiding error‑code patterns, and adopting a throw‑by‑default policy with strongly‑typed exceptions, illustrating concepts with C++ and VB.NET examples and framework design recommendations.

C++Error CodesException Handling
0 likes · 38 min read
Object-Oriented Analysis and Design: Exception Handling, RAII, and Error‑Code Practices
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 4, 2023 · Fundamentals

Understanding the Composite Reuse Principle (CRP): Concepts, Benefits, UML, and Implementation Examples

This article provides a comprehensive explanation of the Composite Reuse Principle (CRP), covering its definition, background, advantages over inheritance, UML representation, practical Java code examples, and guidelines for choosing between composition and inheritance in object‑oriented design.

Composite Reuse PrincipleComposition over InheritanceJava
0 likes · 11 min read
Understanding the Composite Reuse Principle (CRP): Concepts, Benefits, UML, and Implementation Examples
php中文网 Courses
php中文网 Courses
Sep 16, 2022 · Fundamentals

Understanding SOLID Principles in Object‑Oriented Design

This article explains the five SOLID object‑oriented design principles—Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion—while also promoting a PHP online training program that covers modern web technologies and offers enrollment via QR code or contact details.

Object-Oriented DesignPHPSOLID
0 likes · 2 min read
Understanding SOLID Principles in Object‑Oriented Design
IT Services Circle
IT Services Circle
Feb 7, 2022 · Fundamentals

Designing Unique IDs and Choosing Between Inheritance and Composition in C++

The article discusses how to give each class object a unique identifier, compares inheritance and composition for associating objects, and examines the trade‑offs of each approach using C++ examples, ultimately suggesting that the choice should depend on hierarchy depth and maintenance cost.

C++Object-Oriented DesignUnique ID
0 likes · 5 min read
Designing Unique IDs and Choosing Between Inheritance and Composition in C++
Architecture Digest
Architecture Digest
Nov 13, 2021 · Fundamentals

Anemic vs. Rich Domain Models: Core Concepts of Domain‑Driven Design

The article explains the differences between the anemic (transaction‑script) and rich (domain‑model) approaches in DDD, discusses their historical origins, advantages, drawbacks, and provides guidance on when and how to apply each model in software design.

Anemic ModelDomain-Driven DesignObject-Oriented Design
0 likes · 9 min read
Anemic vs. Rich Domain Models: Core Concepts of Domain‑Driven Design
ByteFE
ByteFE
Oct 14, 2021 · Fundamentals

Strategy Design Pattern: A Comprehensive Guide

This article explains the Strategy Design Pattern, a behavioral design pattern that enables defining a family of algorithms, encapsulating each one, and making them interchangeable to improve code maintainability and flexibility in software development.

Object-Oriented DesignStrategy Patternalgorithm implementation
0 likes · 7 min read
Strategy Design Pattern: A Comprehensive Guide
Architect
Architect
Sep 16, 2021 · Fundamentals

Object Modeling: Comparing Object and Data Models, OOP Principles, and Composition vs Aggregation

This article explains the philosophical basis of object‑oriented thinking, distinguishes objects from things, discusses attributes and methods, compares object‑oriented and data‑model designs with Java and SQL examples, and clarifies composition and aggregation through real‑world and code illustrations.

AggregationData ModelingDomain-Driven Design
0 likes · 13 min read
Object Modeling: Comparing Object and Data Models, OOP Principles, and Composition vs Aggregation
Architect
Architect
Mar 26, 2021 · Fundamentals

Anemic vs. Rich Domain Model: Core Concepts and Trade‑offs in Domain‑Driven Design

The article explains the fundamental differences between the anemic (transaction‑script) and rich (domain‑model) approaches in DDD, discusses their historical origins, advantages, disadvantages, and provides concrete examples to help developers decide when to apply each model in software architecture.

Anemic ModelDomain-Driven DesignObject-Oriented Design
0 likes · 8 min read
Anemic vs. Rich Domain Model: Core Concepts and Trade‑offs in Domain‑Driven Design
Selected Java Interview Questions
Selected Java Interview Questions
May 11, 2020 · Fundamentals

Understanding the Six Object‑Oriented Design Principles (SOLID)

This article explains the six core object‑oriented design principles—Single Responsibility, Open/Closed, Liskov Substitution, Dependency Inversion, Interface Segregation, and Law of Demeter—detailing their definitions, benefits, and Java code examples to illustrate proper application.

JavaOCPObject-Oriented Design
0 likes · 12 min read
Understanding the Six Object‑Oriented Design Principles (SOLID)
Java Captain
Java Captain
May 2, 2020 · Game Development

Design and Implementation of a Simple Plants vs Zombies Game in Java

This article details the design, architecture, and code implementation of a simplified Plants vs Zombies game in Java, covering game objects, pause functionality, object interactions, movement, collision detection, optimization techniques, and additional features such as rewards, background music, and future enhancements.

Audio IntegrationGame developmentJava
0 likes · 18 min read
Design and Implementation of a Simple Plants vs Zombies Game in Java
vivo Internet Technology
vivo Internet Technology
Feb 1, 2019 · Fundamentals

Object-Oriented Design Principles (SOLID and Package Principles)

The article explains essential object‑oriented design principles—SOLID for class design and six package‑level rules—showing how proper dependency management and modular organization create flexible, reusable, and maintainable software, and why developers must understand these concepts beyond basic procedural programming.

Object-Oriented DesignSOLIDdependency management
0 likes · 6 min read
Object-Oriented Design Principles (SOLID and Package Principles)