Welcome Guest, Not a member yet? Register   Sign In
Logic of controllers and how to seperate them
#2

[eluser]n0xie[/eluser]
Well you said it yourself: the auth controller has everything to do with users logging in, logging out and retrieving their password.

So this is a good example of bundling up related functionality into one controller.

Now I ask you, what does messaging have to do user authentication? In my book, not much. So I would bundle all matters relating to messaging into one controller.


Messages In This Thread
Logic of controllers and how to seperate them - by El Forum - 09-09-2009, 02:51 AM
Logic of controllers and how to seperate them - by El Forum - 09-09-2009, 02:55 AM
Logic of controllers and how to seperate them - by El Forum - 09-09-2009, 03:00 AM
Logic of controllers and how to seperate them - by El Forum - 09-09-2009, 08:28 AM
Logic of controllers and how to seperate them - by El Forum - 09-09-2009, 09:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB