Category: Observer Design Pattern
Designing a Configurable Logging framework using Observer Design Pattern
Almost in all applications we need logging functionality, but requirements varies from project to project. Here we have designing a Configurable Logging framework. First of all, lets have a look at full requirements. Functional Requirements: Advertisements It should provide, A configurable option for other application modules to save logs at more than one platform like, …
Designing a Configurable Logging framework using Observer Design PatternRead More
Binary Tree Traversal with Strategy design pattern and open-closed principle
Many time we need to perform certain tasks on Binary trees. These tasks can be, Counting nodes that satisfy some criteria. Displaying all nodes in particular pattern like, printing expression from expression tree. Creating mirror image of tree. etc. [showads ad=inside_post] To perform these tasks we follow a pattern i.e. traverse the tree and perform …
Binary Tree Traversal with Strategy design pattern and open-closed principleRead More
Designing a Board Game (Mastermind) in C++ using MVC, State and Observer Design Patterns
Let’s Design a Console Based Board Game in C++. With this Design you can learn MVC, Observer and State Design Pattern. Moreover, with the same design you can also implement any other Game Like Battleship etc. Advertisements In this we will build Console Based Version of MasterMind Game. Complete Code for this is available at, Frequently …
Designing a Board Game (Mastermind) in C++ using MVC, State and Observer Design PatternsRead More