News Feed
Jobs Feed
Sections




News Archive
feed this:

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

php|architect:
More powerful Validation from Respect
March 09, 2011 @ 08:50:12

On the php|architect blog today John Mertic looks at a validation library that's been created to filter and handle user input for your application without too much effort on your part - Validation from a group called Respect.

It's simply called Validation, and it is a very simple and straightforward PHP 5.3 based validation library. The goal for them is to make validation easy and painless, using clever constructs like chaining and enabling developers to create reuseable components.

He shows a sample of how it all works by creating a validator that checks to be sure a given value is numeric. He also shows how you can chain the validation methods to create more complicated rules and even check for a set of value types (ex. numbers 1-10 or the string "NO"). You can find the code for Validate on their github repository.

0 comments voice your opinion now!
validation user input github respect tutorial


Community News:
Ada Lovelace Day 2009
March 24, 2009 @ 07:50:00

Today is "Ada Lovelace Day" - a day set aside to be an international day of blogging dedicated to spotlighting those women in science and technology fields that you feel have gone above and beyond and should be recognized for it. Here's more from the official site:

Women's contributions often go unacknowledged, their innovations seldom mentioned, their faces rarely recognized. We want you to tell the world about these unsung heroines. [...] If women need female role models, let's come together to highlight the women in technology that we look up to. Let's create new role models and make sure that whenever the question "Who are the leading women in tech?" is asked, that we all have a list of candidates on the tips of our tongues.

Members of the PHP community have already started making their blog posts (and tweets) about the day - here's a list:

0 comments voice your opinion now!
ald09 adalovelaceday adalovelace community respect spotlight



Community Events











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


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

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