Welcome Guest, Not a member yet? Register   Sign In
Model: Strictly for database INSERTS, SELECTS, UPDATES, etc?
#3

[eluser]drewbee[/eluser]
Exactly. For me, the model also does any data manipulation. For instance, one of my forms is an upload form, and in the model i have a custom function that uses the unix backend to check its mime type.

For me, the controller is the glue between the model and view, and also provides data validation. Any interaction done with saving, getting, or putting is all in the model though.


Messages In This Thread
Model: Strictly for database INSERTS, SELECTS, UPDATES, etc? - by El Forum - 11-05-2008, 01:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB