Welcome Guest, Not a member yet? Register   Sign In
Validation+Filtering
#7

[eluser]Colin Williams[/eluser]
Quote:I agree 100% w/ validation being in the controller

... yet you say ...

Quote:if you don’t put the validation at the database/model level you would need to repeat unneeded code for each call using the model

... so, do you even agree with yourself? In that second quote, in clearer terms you seem to be saying, "If you validate user input in the controller, you would need to repeat validation in the model." Why would you need to validate it twice? And why then do you agree 100% with validating in the controller?


Messages In This Thread
Validation+Filtering - by El Forum - 09-25-2008, 06:04 PM
Validation+Filtering - by El Forum - 09-25-2008, 06:32 PM
Validation+Filtering - by El Forum - 09-25-2008, 07:05 PM
Validation+Filtering - by El Forum - 09-25-2008, 10:13 PM
Validation+Filtering - by El Forum - 09-25-2008, 11:40 PM
Validation+Filtering - by El Forum - 09-26-2008, 10:10 PM
Validation+Filtering - by El Forum - 09-26-2008, 11:29 PM
Validation+Filtering - by El Forum - 09-27-2008, 03:22 PM
Validation+Filtering - by El Forum - 09-28-2008, 05:16 PM
Validation+Filtering - by El Forum - 09-29-2008, 02:35 PM
Validation+Filtering - by El Forum - 09-29-2008, 02:52 PM
Validation+Filtering - by El Forum - 09-29-2008, 09:46 PM
Validation+Filtering - by El Forum - 09-30-2008, 09:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB