Tag: Design Pattern
6 items found
Glossary Terms
Dependency Injection
Dependency injection lets a class receive the dependencies it needs from the outside instead of constructing them itself.
Design Pattern
A design pattern describes a proven approach to recurring software design problems, independent of a specific language or framework.
Factory Pattern
The Factory pattern moves object creation decisions into a producer component so client code stays independent of concrete classes.
Observer Pattern
The Observer pattern automatically notifies all attached observers when an object's state changes — an event-driven design pattern.
Repository Pattern
The Repository pattern hides data source details behind a consistent interface so business code can read and write data without knowing storage details.
Singleton Pattern
The Singleton pattern ensures a class has one application-wide instance, centralizing access to shared resources or configuration.