Welcome Guest, Not a member yet? Register   Sign In
Controller code.. your opinion?
#2

[eluser]Adam Griffiths[/eluser]
I always use the first version, it's probably because when I used procedural code I had different files for each action, and it just stuck. I can see the benefits of having all the edit functions in one controller, for example.

Although it would get messy if you had a modular structure like I use now, which is why I stick with the first. But then again I would have the whole function in a model and just run it from the controller.


Messages In This Thread
Controller code.. your opinion? - by El Forum - 10-16-2008, 09:31 AM
Controller code.. your opinion? - by El Forum - 10-16-2008, 09:39 AM
Controller code.. your opinion? - by El Forum - 10-16-2008, 11:39 AM
Controller code.. your opinion? - by El Forum - 10-16-2008, 12:03 PM
Controller code.. your opinion? - by El Forum - 10-16-2008, 02:54 PM
Controller code.. your opinion? - by El Forum - 10-16-2008, 10:15 PM
Controller code.. your opinion? - by El Forum - 10-17-2008, 10:29 AM
Controller code.. your opinion? - by El Forum - 10-17-2008, 03:43 PM
Controller code.. your opinion? - by El Forum - 10-17-2008, 04:24 PM
Controller code.. your opinion? - by El Forum - 10-17-2008, 04:40 PM
Controller code.. your opinion? - by El Forum - 10-17-2008, 04:43 PM
Controller code.. your opinion? - by El Forum - 10-17-2008, 05:50 PM
Controller code.. your opinion? - by El Forum - 10-21-2008, 01:50 AM
Controller code.. your opinion? - by El Forum - 10-21-2008, 03:26 AM
Controller code.. your opinion? - by El Forum - 10-21-2008, 07:42 AM
Controller code.. your opinion? - by El Forum - 10-21-2008, 08:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB