Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork27.3k
feat: Add practical real-world examples for Singleton, Builder, and S…#3398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…trategy patternsAdded comprehensive real-world examples with tests and documentation for threecommonly 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 exampleAll 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
⏳Analyzing changes in this PR... ⏳ This might take a few minutes, please wait 📥 CommitsAnalyzing changes from base (
Added comprehensive real-world examples with tests and documentation for three Singleton Pattern
Builder Pattern
Strategy Pattern
All examples include:
📁 Files being considered (22)🔄 builder/README.md(1 hunk) autogenerated bypresubmit.ai |
…trategy patterns
Added comprehensive real-world examples with tests and documentation for three commonly used design patterns in enterprise applications.
Singleton Pattern
Builder Pattern
Strategy Pattern
All examples include:
Pull Request Template
What does this PR do?