You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add practical real-world examples for Singleton, Builder, and Strategy patterns
Added comprehensive real-world examples with tests and documentation for three
commonly used design patterns in enterprise applications.
## Singleton Pattern
- ConfigurationManager: Application settings management
- LoggerService: Centralized logging system
- DatabaseConnectionPool: Connection pool management
- Full test coverage for all implementations
- Updated README with usage examples and Korean documentation
## Builder Pattern
- UserDTO: Complex user data transfer object
- HttpRequest: HTTP request builder for API calls
- EmailMessage: Email composition with attachments
- Comprehensive tests for all builders
- Enhanced README with practical use cases
## Strategy Pattern
- PaymentProcessor: Payment processing system
- CreditCardPayment: Credit card payment strategy
- BankTransferPayment: Bank transfer strategy
- PayPalPayment: PayPal integration strategy
- Complete test suite for payment strategies
- Updated README with e-commerce payment example
All examples include:
- Production-ready code with validation
- Comprehensive JUnit 5 tests
- Detailed Javadoc documentation
- Korean and English README sections
- Real-world use cases and best practices
*[Design Patterns: Elements of Reusable Object-Oriented Software](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612)
0 commit comments