Welcome Guest, Not a member yet? Register   Sign In
What's the best way to validate data in both controllers and models, before creating/reading/updating/deleting this data
#5

[eluser]Mauricio de Abreu Antunes[/eluser]
Don't use global validation.
Validate your data in your controllers even it needs copy and paste.
Sometimes, you need to validate a user name or purchase date in different ways.


Messages In This Thread
What's the best way to validate data in both controllers and models, before creating/reading/updating/deleting this data - by El Forum - 02-21-2012, 05:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB