Welcome Guest, Not a member yet? Register   Sign In
best practice: model or controller?
#2

[eluser]Bramme[/eluser]
It's really how you like it best. If you only need to do this once, you could keep it in your controller, if you need to do this several times, Don't Repeat Yourself (DRY, keep that in mind Wink) and put it in a library, model or helper, whatever suits your needs.


Messages In This Thread
best practice: model or controller? - by El Forum - 07-02-2008, 08:59 AM
best practice: model or controller? - by El Forum - 07-02-2008, 09:11 AM
best practice: model or controller? - by El Forum - 07-02-2008, 09:52 AM
best practice: model or controller? - by El Forum - 07-02-2008, 10:15 AM
best practice: model or controller? - by El Forum - 07-02-2008, 10:22 AM
best practice: model or controller? - by El Forum - 07-02-2008, 10:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB