Welcome Guest, Not a member yet? Register   Sign In
Joins: Controller or Model?
#3

[eluser]Denarius[/eluser]
Hi, thanks for your reply. Having joins carried out by methods in the model seems reasonable, but what's the rationale for having one model per table? Ultimately, aren't you just replacing $this->db->get('tablename') with $this->db->myMethodThatOnlyContainsTheOtherCommandAnyway?


Messages In This Thread
Joins: Controller or Model? - by El Forum - 03-02-2010, 08:50 AM
Joins: Controller or Model? - by El Forum - 03-02-2010, 08:54 AM
Joins: Controller or Model? - by El Forum - 03-02-2010, 10:08 AM
Joins: Controller or Model? - by El Forum - 03-02-2010, 03:12 PM
Joins: Controller or Model? - by El Forum - 03-03-2010, 12:45 PM
Joins: Controller or Model? - by El Forum - 03-03-2010, 01:03 PM
Joins: Controller or Model? - by El Forum - 03-03-2010, 05:28 PM
Joins: Controller or Model? - by El Forum - 03-04-2010, 11:01 AM
Joins: Controller or Model? - by El Forum - 03-04-2010, 11:13 AM
Joins: Controller or Model? - by El Forum - 03-04-2010, 05:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB