Welcome Guest, Not a member yet? Register   Sign In
Poll: Do we need new solution for Form filtering and validation?
You do not have permission to vote in this poll.
16 53.33%
11 36.67%
3 10.00%
Total 30 vote(s) 100%
* You voted for this item. [Show Results]

Input filtering and Form validation

I think that we have to create, new solution for Form validation and filtering.
At the moment Controllers take a huge amount of code only for validating forms which is not very right. 

Currently at other frameworks there are solutions as FormTypes/FormRequests/.. class's which are extended for each form there is and they are configurable. Setting validation rules and filtering and other related things as error messages. The combination of filtering + validation will remove the need of devs to validate anything inside the controllers.  
Once defined such class can be auto validated with our build in Validation library as it is now, and inside Controllers there will be just 1 initialization of this form validation.
Best VPS Hosting : Digital Ocean

Messages In This Thread
Input filtering and Form validation - by sv3tli0 - 04-06-2015, 10:08 PM
RE: Input filtering and Form validation - by cjj - 04-09-2015, 09:03 PM

Theme © iAndrew 2016 - Forum software by © MyBB