Using $_POST at the model

#7
[eluser]Colin Williams[/eluser]
Ideally the controller should handle all input, and having the model accessing $_POST is like having it handle the input in some way. Although, to be honest, the only thing you might lose by going this route is an argument about MVC. I don't know that your application will suffer.


Messages In This Thread
Using $_POST at the model - by El Forum - 08-12-2009, 06:05 AM
Using $_POST at the model - by El Forum - 08-12-2009, 06:14 AM
Using $_POST at the model - by El Forum - 08-12-2009, 11:04 AM
Using $_POST at the model - by El Forum - 08-12-2009, 11:27 AM
Using $_POST at the model - by El Forum - 08-12-2009, 12:32 PM
Using $_POST at the model - by El Forum - 08-12-2009, 01:54 PM
Using $_POST at the model - by El Forum - 08-12-2009, 03:01 PM
Using $_POST at the model - by El Forum - 08-12-2009, 03:38 PM
Using $_POST at the model - by El Forum - 08-13-2009, 06:41 AM
Using $_POST at the model - by El Forum - 08-13-2009, 10:32 AM
Using $_POST at the model - by El Forum - 08-14-2009, 12:47 AM
Using $_POST at the model - by El Forum - 08-14-2009, 01:02 AM
Using $_POST at the model - by El Forum - 08-14-2009, 01:58 AM
Using $_POST at the model - by El Forum - 08-14-2009, 02:17 AM
Using $_POST at the model - by El Forum - 08-14-2009, 02:21 AM
Using $_POST at the model - by El Forum - 08-14-2009, 02:37 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.