Welcome Guest, Not a member yet? Register   Sign In
Where put the referential integrity in the MVC structure of CI.
#2

[eluser]imaffett[/eluser]
The validation class acts upon data being submitted from a form. You would handle this at the model level.

I think what you are concerned about though is that you can't trust data from the form. Too many people just validate it and dump it into the active record query, without checking that primary/foreign key fields are indeed what you want. Feel free to pm me more with your concern and I can help out.


Messages In This Thread
Where put the referential integrity in the MVC structure of CI. - by El Forum - 10-30-2009, 08:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB