Welcome Guest, Not a member yet? Register   Sign In
Library vs. Controller
#6

[eluser]xwero[/eluser]
I think you shouldn't see it as the advantages of a library over extending controllers. You have to decide if the code you are about to write is application specific or not. And if you think it's reusable you abstract it in order to make it as flexible as possible. If you find out that because of the abstractions you have to use too many methods or add too many layers, that is the sign the code is application specific.

But before you start extending the controllers see it hooks aren't possible. For a login and layout library this is certainly an option.


Messages In This Thread
Library vs. Controller - by El Forum - 10-28-2008, 02:22 AM
Library vs. Controller - by El Forum - 10-28-2008, 06:05 AM
Library vs. Controller - by El Forum - 10-28-2008, 07:50 AM
Library vs. Controller - by El Forum - 10-28-2008, 12:55 PM
Library vs. Controller - by El Forum - 10-28-2008, 06:47 PM
Library vs. Controller - by El Forum - 10-29-2008, 01:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB