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 …
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.