Welcome Guest, Not a member yet? Register   Sign In
Separation of Business logic Object from Model
#2

[eluser]bigtony[/eluser]
ALL of your database stuff should be in models, so you ought to either move the functions you have in Category into M_Categories (and dispose of Category) or change the category functions to invoke functions in the model that perform the db manipulation.


Messages In This Thread
Separation of Business logic Object from Model - by El Forum - 09-05-2009, 02:58 PM
Separation of Business logic Object from Model - by El Forum - 09-06-2009, 01:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB