CSC/ECE 517 Fall 2012/ch2b 2w64 bg: Difference between revisions
(Created page with "=Strategy Pattern, Directory of sites=") |
|||
Line 1: | Line 1: | ||
=Strategy Pattern, Directory of sites= | =Strategy Pattern, Directory of sites= | ||
Strategy Pattern is a software design pattern that can be used to select a particular algorithm among many available ones at run time depending on certain conditions. A clear definition of the Strategy Pattern can be found [http://en.wikipedia.org/wiki/Strategy_pattern here]. This resource gives a general idea of the pattern, a useful reference for readers that have not used this pattern before. The reference is written in a simple and easily understandable language which can be beneficial for a new reader as well as programmer who wants to have a very high level idea about the pattern. It includes a pictorial representation of the fundamental concept behind the pattern and also explains it using an example in Java. This resource includes a discussion about the Open/Close principle and relates it with the Strategy pattern. |
Revision as of 20:30, 19 November 2012
Strategy Pattern, Directory of sites
Strategy Pattern is a software design pattern that can be used to select a particular algorithm among many available ones at run time depending on certain conditions. A clear definition of the Strategy Pattern can be found here. This resource gives a general idea of the pattern, a useful reference for readers that have not used this pattern before. The reference is written in a simple and easily understandable language which can be beneficial for a new reader as well as programmer who wants to have a very high level idea about the pattern. It includes a pictorial representation of the fundamental concept behind the pattern and also explains it using an example in Java. This resource includes a discussion about the Open/Close principle and relates it with the Strategy pattern.