Welcome Guest, Not a member yet? Register   Sign In
Models stepping on each other?
#3

[eluser]tomdelonge[/eluser]
That's not quite what singleton is. In any case, each model is instantiated as a separate object. In every request, everything is new. The models treat everything with customer a and customer b the same. If they need something treated differently, then you have to use sessions or something to store the extra data. What you're suggesting, like noctrum said, is not really a problem.


Messages In This Thread
Models stepping on each other? - by El Forum - 03-09-2010, 07:33 PM
Models stepping on each other? - by El Forum - 03-10-2010, 08:51 AM
Models stepping on each other? - by El Forum - 03-10-2010, 09:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB