Repository navigation
DesignPatterns
Design Patterns
Pattern: Helps to identify the recurring problems and provides a pre-built solution that can be applied at its best in solving those problems.
All Convertor(Date util, Time Util, String Util) and Validation classes can be singleton.
GOF Pattern Catalog:
Creational: It provides guidelines to instantiate a single or group of objects so called creational
- Abstract Factory
- Builder
- Factory Method
- Prototype
- Singleton
Structural: It provides a manner to define relationship between classes
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
Behavioral: It defines communication between classes and objects
- Chain Of Responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template Method
- Visitor
Presentation Tier: This tier contains all the presentation tier logic required to service the clients that access the system
- Intercepting Filter
- Front Controller
- Application Controller
- View Helper
- Composite View
- Service to Worker
- Dispatcher View
Business Tier: This tier provides business service required by the application clients
- Business Delegate
- Service Locator
- Session Facade
- Application Service
- Business Object
- Composite Entity
- Transfer Object
- Transfer Object Assembler
- Value List Handler
Integration Tier: This tier is responsible for communicating with external resources and systems such as data stores etc.
- Data Access Object
- Service Activator
- Domain Store
- Web Service Broker