[eluser]Ajaxian64[/eluser]
Thank you mi6crazyheart for your reply.
I do not agree at all.
My mind Model has to deal with data checking rules (Business rules).
For instance, in my form if I provide 2 dates, and internally if I have a rule that says :'the two dates must be separate at least by xx days'
Then for me this kind of thing must be verify in model. It's a business rule.
Controller has to collect data from the form, and transmitting them to the model.
A model is also not absolutly dedicated to a db, for instance contact form are not connected to db.
But OK, I imagine that people may place their check wherever they want (controller or model) but I wonder if doing this stuff on model, we can have the error messages issued from 'form_validation' in the Form field (in the case where user enter wrong data).
I fear that with CI approach It couldn't work.