Welcome Guest, Not a member yet? Register   Sign In
[EASY] Best practice for this (MVC)
#1

[eluser]NeoGeneration[/eluser]
Hello there,

I have some functions that connect to a model and to a library. These functions were initially in a controller but now I'm using the same logic in another controller.

I was wondering whats the best practice here to get the code tidy.

I tried to convert my functions to a library or helper but I got lost and I don't know if that is what I should do.

Thanks for that.


Messages In This Thread
[EASY] Best practice for this (MVC) - by El Forum - 01-22-2013, 05:22 AM
[EASY] Best practice for this (MVC) - by El Forum - 01-22-2013, 05:41 AM
[EASY] Best practice for this (MVC) - by El Forum - 01-22-2013, 07:07 AM
[EASY] Best practice for this (MVC) - by El Forum - 01-22-2013, 07:27 AM
[EASY] Best practice for this (MVC) - by El Forum - 01-22-2013, 07:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB