News Feed
Sections




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

Brandon Savage's Blog:
Validation Blind Spots Hurt Real Users
April 04, 2011 @ 09:18:38

In a new post to his blog Brandon Savage talks about how some of your current validation rules (and restrictions on input values) could be causing blind spots in your application that you don't even know are an issue.

Our blind spots about validation can and do harm real users if they're poorly or incompletely thought out. What might seem like a completely rational limit to us might hurt a real user who needs to exceed that limit, through no fault of their own. How many women are "BETTYJEAN" because their first name "can't" have a space in it?

He makes a few suggestions developers can do to help the situation and get their current project's validation back out into 20-20 vision:

  • Accept valid data in any form provided by the user.
  • Where possible, use well-developed validation libraries.
  • Do not place artificial limits on valid data.
  • Do place valid limits on specific data.
0 comments voice your opinion now!
validation blindspot user input data opinion


blog comments powered by Disqus

Similar Posts

Keith Casey: Refactor vs Rebuild: New Years make New Beginnings

NetTuts.com: Build Web Apps from Scratch with Laravel - The Eloquent ORM

DevShed: Validating Incoming Data by Using Polymorphism with Objects in PHP 5

DevShed: Validating Incoming Data by Using Polymorphism with Objects in PHP 5

DevShed: Enforcing Object Types in PHP - Using the PHP5 instanceof Operator


Community Events

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


release series opinion introduction symfony2 list interview extension voicesoftheelephpant community api library conference framework podcast performance php7 version example laravel

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