Welcome Guest, Not a member yet? Register   Sign In
why use models?
#7

[eluser]SPeed_FANat1c[/eluser]
[quote author="nuwanda" date="1293631570"]Models allow you to use the same data functions for many controllers. Each controller calls the same model method, perhaps with different parameters which then return data.

Without models you'd be writing the same data retrieval code in each controller. Major headache.

[/quote]

Without model you could yet use libraries instead of models for the same goal.


Messages In This Thread
why use models? - by El Forum - 12-25-2010, 05:24 AM
why use models? - by El Forum - 12-25-2010, 06:12 AM
why use models? - by El Forum - 12-25-2010, 10:45 AM
why use models? - by El Forum - 12-25-2010, 03:02 PM
why use models? - by El Forum - 12-27-2010, 12:36 PM
why use models? - by El Forum - 12-29-2010, 02:06 AM
why use models? - by El Forum - 12-29-2010, 02:41 AM
why use models? - by El Forum - 12-29-2010, 02:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB