Welcome Guest, Not a member yet? Register   Sign In
Code Organization
#4

[eluser]jedd[/eluser]
I choose option (a) - because it talks to the DB.

I have it in my member (user, people, person, etc) model.

I have a smaller function, either in MY_Controller or my stock helper - that just checks the relevant session data that the above model method sets - and lets me know if the user is authenticated.


Messages In This Thread
Code Organization - by El Forum - 08-11-2009, 11:51 AM
Code Organization - by El Forum - 08-11-2009, 12:01 PM
Code Organization - by El Forum - 08-11-2009, 05:38 PM
Code Organization - by El Forum - 08-11-2009, 05:47 PM
Code Organization - by El Forum - 08-11-2009, 06:00 PM
Code Organization - by El Forum - 08-11-2009, 06:41 PM
Code Organization - by El Forum - 08-12-2009, 02:33 AM
Code Organization - by El Forum - 08-12-2009, 05:00 AM
Code Organization - by El Forum - 08-12-2009, 05:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB