Downloads: 140 | Weekly Hits: ⮙1 | Monthly Hits: ⮙1
Research Paper | Computer Science & Engineering | India | Volume 3 Issue 8, August 2014
Strategy Design Pattern
Renu Bala [2] | Kapil Kumar Kaswan
Abstract: Design patterns usually describe systems of interaction between classes, objects, and communication flows. So, a description of a set of interacting classes that provide a generalized solution framework to a generalized/specific design problem in a specific context can be said as a design pattern. There are many design patterns that can be used to solve real-life problems, but it remains very difficult to design, implement and reuse software for complex applications. Examples of these include enterprise system, real-time market data monitoring and analysis system. Design patterns provide an efficient way to create more flexible, elegant and ultimately reusable object-oriented software. Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice. The solutions of the given problems are expressed in terms of objects and interfaces. Among 23 design patterns, Strategy pattern defines an interface common to all supported algorithms. Context uses this interface to call the algorithm defined by a Concrete Strategy. In accounting framework one thing is mostly needed that is tax calculation. To solve this problem author in the current study has chosen the strategy pattern.
Keywords: Design Pattern, Context, Strategy, Object, ConcreteStrategy
Edition: Volume 3 Issue 8, August 2014,
Pages: 385 - 387
Similar Articles with Keyword 'Context'
Downloads: 0
Survey Paper, Computer Science & Engineering, India, Volume 11 Issue 7, July 2022
Pages: 1023 - 1029A Survey and High-Level Design on Human Activity Recognition
Abhishikat Kumar Soni | Dhruv Agrawal | Md. Ahmed Ali | Dr. B. G. Prasad [4]
Downloads: 0
Analysis Study Research Paper, Computer Science & Engineering, United States of America, Volume 13 Issue 1, January 2024
Pages: 324 - 329