Tag: OOP
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.
Singleton Pattern
The Singleton pattern ensures a class has one application-wide instance, centralizing access to shared resources or configuration.
SOLID Principles
SOLID is a set of five object-oriented design principles for making classes easier to understand, test, and adapt to change.