. Updated Daily. Editions SDA India   SDA Indonesia
JAX Asia 2008 - Conference for Enterprise Java, SOA, Spring, Web Services, Ajax, Agile and more
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

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

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2008 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use