3 ms·
I'm not comp sci educated, I'm all self taught so maybe "Autoload" has a real meaning outside of this context, but CI does have an autoloader... something that
by citricsquid 14y ago
I'm not comp sci educated, I'm all self taught so maybe "Autoload" has a real meaning outside of this context, but CI does have an autoloader... something that can autoload libraries and models? application/config/autoload.php
- rokhayakebe 14y agoVery good question. I am self taught as well, and have been using CI for about 2 years now. I can autoload libs and helpers. I would love to read his answer there. Also another question would be which frameworks is he currently using and what are its advantages.
- renownedmedia 14y agoI answered his questions directly; I'm not doing too much PHP development these days, it is mostly Node stuff.
- renownedmedia 14y agoPHP has the ability to run a function when attempting to load a class which doesn't yet exist, which can load a file from the filesystem and get the class into memory. The CI version of autoloading is a manually entered list of classes to be loaded (a little ironic actually :p).
- troels 14y agohttp://php.net/manual/en/language.oop5.autoload.php http://php.net/manual/en/language.oop5.autoload.php