Friday, 9 March 2007
Article: Validate User Input with the Strategy Pattern |
| |
|
| |
In the final article of a two part series, Alejandro Gervasio show you how to implement the strategy pattern to check a wide range of user inputs. He says, this series walks you through the key points of how the strategy pattern works, and accompanies its theoretical concepts with hands-on examples.
In the first part of the article, he explained the foundations of the strategy design pattern, and complemented the theory with some practical examples of how to apply this pattern in PHP 5.
In the final tutorial, he demonstrates how to use the strategy pattern in a case of validating user-supplied input.
He explains the tutorial in the following sections:
|
| |
|
Read the Article
|
| |
|
|
| |
|
|
| |
|