Welcome Guest, Not a member yet? Register   Sign In
Best place to put a method that prepare the views ?
#7

[eluser]Rushino[/eluser]
Because its a library. You shouldn't call a super object from a framework directly in a lib. You make the lib depend on the framework. Well, that how i see it.. no offence here. I pretty much doesnt know myself what is really good or bad code.. hard to figure out. But from my first impression i though it would be bad to call some super object directly in the lib. But that would definitivly fix "the same code in all the controllers" problem.


Messages In This Thread
Best place to put a method that prepare the views ? - by El Forum - 04-23-2011, 10:31 AM
Best place to put a method that prepare the views ? - by El Forum - 04-23-2011, 02:47 PM
Best place to put a method that prepare the views ? - by El Forum - 04-23-2011, 03:00 PM
Best place to put a method that prepare the views ? - by El Forum - 04-23-2011, 09:19 PM
Best place to put a method that prepare the views ? - by El Forum - 04-24-2011, 08:58 AM
Best place to put a method that prepare the views ? - by El Forum - 04-24-2011, 09:45 AM
Best place to put a method that prepare the views ? - by El Forum - 04-24-2011, 09:46 AM
Best place to put a method that prepare the views ? - by El Forum - 04-24-2011, 10:22 AM
Best place to put a method that prepare the views ? - by El Forum - 04-24-2011, 10:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB