Welcome Guest, Not a member yet? Register   Sign In
When should I autoload a library?
#3

[eluser]LinkFox[/eluser]
If you're using it all over your application then autoload it, I.E Session, however things like form_validation would only really be used on pages with forms so should be loaded when you need it.

I'd say only autoload if 60-70% of your controllers require the library/helper etc, but its a personal preference and its best to learn by tweaking really.

Hope this helps

Regards

David


Messages In This Thread
When should I autoload a library? - by El Forum - 05-10-2011, 04:37 PM
When should I autoload a library? - by El Forum - 05-10-2011, 10:17 PM
When should I autoload a library? - by El Forum - 05-13-2011, 05:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB