Designing a Board Game (Mastermind) in C++ using MVC, State and Observer Design Patterns
Let’s Design a Console Based Board Game in C++.
Let’s Design a Console Based Board Game in C++.
In this article we will learn Command Design Pattern by Designing an Event Handling Framework.
In a framework we deal mainly with abstract classes. Application that is going to use our framework provides the derived classes these abstract classes. Let’s understand by an example of Thread pooling Framework, A thread pooling framework provides the facility to execute Tasks in pooled environment by worker threads. It’s doesn’t know what actually the …
Need of Factory Method Design Pattern in Frameworks Explained Read More »
Let’s Design a Multiton class i.e. a modified Singleton to return 5 objects in cycle.
What is a Strategy? Strategy is a plan of action designed to achieve a long-term or overall aim.
Many times we need to develop systems / objects that provides services to outside world. But the response of each service is not always same, it depends upon its current internal state.
Many times we need to perform certain tasks and also group them.
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.
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.