Design Patterns & Best Practic
2022-12-26 14:11:35 1 举报
AI智能生成
Design Patterns & Best Practice
作者其他创作
大纲/内容
Creation patterns
Singleton pattern
Synchronized sigletons
Syncchronized singleton with double-check locking mechanism
Lock-free thread safe singleton
Early and lazy loading
the factory pattern
Simple factory pattern
Static factory
Simple factory with calss registration using reflection
simple factory with class registration using Product.newInstance
Factory method pattern
Anonymous concrete factory
Abstract factory
Simple factory versus factory method versus abstract factory
Builder pattern
Car builder example
Simplified builder pattern
Anonymous builders with method chaining
Prototype pattern
Shallow clone versus deep clone
Object pool pattern
Structural Patterns
Adapter pattern
Proxy pattern
Decorator pattern
Bridge pattern
Composite pattern
Facade pattern
Flyweight pattern
Functional Patterns
Introduing functional programming
Lambada expressions
Pure functions
Referential transparency
First-class functions
Higher-order functions
Composition
Closure
Immutability
Functors
Applicatives
Monads
Introducing functional programming in JAVA
Lambda expressions
Streams
Stream creator operations
Stream intermediate operations
Stream terminal operations
Functional desing patterns
MapReduce
Loan pattern
Tail call optimization
Memoization
The execute around method
Design Patterns & Principles
Signle responsibility principle
Open/Closed Priciple
Liskov Substitution principle
Interface Segregation Principle
Dependency inversion principle
Behavioral Patterns
The chain-of-responsibility pattern
Intent
Implementation
Applicability and examples
The command pattern
The interpreter pattern
The iterator pattern
The observer pattern
The mediator pattern
The memento pattern
The state pattern
The strategy pattern
The template method pattern
The null object pattern
Reactive Desing patterns
Patterns for responsiveness
Request-response pattern
Asynchronous-communication pattern
Caching pattern
Fan-out and quickest-reply pattern
Fail-fast pattern
Patterns for resilience
The circuit-breaker pattern
Failure-handing pattern
Bounded-queue pattern
Monitoring patterns
Bulkhead pattern
Patterns for elasticty
Single responsibility pattern
Stateless-services pattern
Autoscaling pattern
Self-containment pattern
Patterns for message-driven implementation
Event-driven communication pattern
Publisher-subscriber pattern
Idempotentcy pattern
Trends in Application Architecture
Layered architecture
Model View Controller architecture
Service-oriented architecture
Enterprise service bus
Web services
SOAP
REST
Microservices-based Architecture
Communicating among services
What does microservices-based architecture guarantee?
What are challenges with microservices-based architecture?
Serverless architecture
Independence from infrastructure planning
What does serverless architecture guarantee?
What are the callenges with serverless architecture?
0 条评论
下一页