Welcome Guest, Not a member yet? Register   Sign In
Handle object in class helper - Best practice
#4

(This post was last modified: 11-10-2015, 04:05 AM by sintakonte.)

i'm not so sure about your way of doing things
i think in general you should avoid calling models within your objects because objects needs to get filled by a model
and the model should return the prepared objects to the controller

a Library can do that but in this case i think a library is a wrong approach - you need a category wrapper object or something like this
Reply


Messages In This Thread
RE: Handle object in class helper - Best practice - by sintakonte - 11-10-2015, 04:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB