News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Seth May's Blog:
The 5 Ws of Data Validation - Part 1
April 26, 2012 @ 11:14:03

With a reminder about the best practice of always validating your data, Seth May has this new post about the "Five Ws" of validation - why, when, where and who.

As web developers, the applications you write are complex data processing engines. They try and convince your users to enter good, meaningful data and to respond in solid, predictable ways based on what was entered. Robust data validation will allow the rest of you application to work effectively. [...] Data is scrutinized in various ways to make sure that it adheres to basic restrictions and to fundamental properties. It's no good receiving a sandwich when you expect a car.

The questions he answers are:

  • Why is Data Validation Important?
  • Where Should I be Validating Data?
  • When Should My Data Be Validated?
  • Who is Responsible for Validation?
  • How Do I Validate My Data? (yes, there's a "w" in there!)
In the real world data is ugly, crazy, and untrustworthy. Your only hope to taming the data beast is to diligently, methodically validate your data.
0 comments voice your opinion now!
data validation series five w reason bestpractice


blog comments powered by Disqus

Similar Posts

Harry Fuecks' Blog: Using OpenSSL, RSA and RC4 to exchange encrypted data from PHP to Java

Web & PHP Magazine: Issue #12 - Don't Get in a PECL

Flyn San: Creating a Basic ToDo Application With Laravel 4 (Tutorial Series)

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 1)

PHP.net: PHP 5.2.2 and PHP 4.4.7 Released


Community Events











Don't see your event here?
Let us know!


code opinion framework podcast hhvm facebook security composer application unittest introduction language component symfony2 package hack threedevsandamaybe release install series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework