Welcome Guest, Not a member yet? Register   Sign In
practical to autoload libraries like this?
#5

[eluser]ntheorist[/eluser]
lol i got a little drunk just from reading his reply Smile

@wired not only that, it would exit with an error if the variable you tried to access wasn't a valid library. This just means you have to define all your class variables, which one should do anyway imo. Also i'd limit it to the Controller scope where i think most runtime library loading is done.

it just seems that the lazy loading of classes is one of the better ways to improve performance.


Messages In This Thread
practical to autoload libraries like this? - by El Forum - 07-13-2009, 07:25 PM
practical to autoload libraries like this? - by El Forum - 07-13-2009, 08:10 PM
practical to autoload libraries like this? - by El Forum - 07-13-2009, 08:11 PM
practical to autoload libraries like this? - by El Forum - 07-13-2009, 08:14 PM
practical to autoload libraries like this? - by El Forum - 07-13-2009, 08:45 PM
practical to autoload libraries like this? - by El Forum - 07-13-2009, 09:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB