When numerous algorithms for a given strategy (interface) are required, this pattern comes in handy. Singleton Design Pattern is used when only one instance of a class is required. Observer Design Pattern enables you to set up a subscription mechanism that permits other entities to be alerted of each occurrence on the entity to which you are subscribed.
Table of contents
2. Singleton Design Pattern3. Observer Design PatternIs using design patterns always a good idea?Design Patterns’ Beginnings!ConclusionsBuild composable web applications10 Comments
Sort: