Welcome Guest, Not a member yet? Register   Sign In
Best way to handle authentication with MY_Controller ?
#3

[eluser]benoa[/eluser]
[quote author="Damien K." date="1253338852"]I'm a strong believer in the least invasive method for extending a framework.[/quote]

Me too Smile

Yeah Hooks. I definitely have to consider that solution. I'm just wondering if they are as fast as extending the Controller class in terms of performance... I gotta read the user guide's hook section now Smile

Anyways, if you use a hook, you'll still have to implement some way to restrict access to parts of your site... How would you do that? Like, lock controllers at the application start, or otherwise inside controllers, put ifs and elses? I'm not sure I want to do that... Because I'm DRY!


Messages In This Thread
Best way to handle authentication with MY_Controller ? - by El Forum - 09-18-2009, 11:11 AM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-18-2009, 06:40 PM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-19-2009, 05:10 AM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-19-2009, 05:39 AM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-19-2009, 05:43 AM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-19-2009, 09:03 AM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-19-2009, 09:28 AM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-19-2009, 11:33 AM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-19-2009, 08:00 PM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-19-2009, 09:47 PM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-19-2009, 11:46 PM
Best way to handle authentication with MY_Controller ? - by El Forum - 09-20-2009, 05:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB