PHP Classes

Formal PHP Validation Library package blog

Recommend this page to a friend!

Latest Formal PHP Validation Library package blog posts

  All package blogs All package blogs   Formal PHP Validation Library Formal PHP Validation Library   Blog Formal PHP Validation Library package blog   Post article Post article  

1. How to Use PHP Validation Type Casting to Perform Complex Form Validation with Less Code

Updated on: 2022-08-25

Posted on:

Many Web applications need to validate values entered by the users to avoid invalid values that can make the application work unexpectedly.

Usually, developers define a set of rules to validate values entered by users. In some cases, specific values need to be validate by several rules.

This package supports the concept of type casting. This concept allows the definition of rules that combine several other rules into a single rule.

This way, developers can simplify the definition of complex rules in less code than if they had to define all simple rules for each value that their applications need to validate.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)


  All package blogs All package blogs   Formal PHP Validation Library Formal PHP Validation Library   Blog Formal PHP Validation Library package blog   Post article Post article  
For more information send a message to info at phpclasses dot org.