Welcome Guest, Not a member yet? Register   Sign In
1 controller = 1 model VS. 1 controller = multiple model
#7

(This post was last modified: 08-27-2018, 01:23 PM by skunkbad.)

(08-27-2018, 09:33 AM)albertleao Wrote: ...

such as a single database table.

...

THIS

Although, you could have a model for a group of related tables, if you choose. I do this for authentication, because the tables are all related, and most don't need their own model.
Reply


Messages In This Thread
RE: 1 controller = 1 model VS. 1 controller = multiple model - by skunkbad - 08-27-2018, 01:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB