im all new to framework.
so the structure of code igniter looks like:
system
system/application
the system folder is code igniter’s base folder right? so if they in the future releases a new version i just put application in the new system folder and its upgraded right?
does this mean that i shouldn’t put new files and so on in the system folder? cause some code could be used for other applications and i want to put them under the current application im developing, not inside the application folder.
i want my application’s classes to extend my base system’s classes which in turn extend code igniter’s base system class.
so there are 3 levels. so how could i accomplish this? where to put the system level between CI and my application?
The core framework files are located in SYSTEM/CODEIGNITER.
Your application files are mostly located in SYSTEM/APPLICATION
You can extend CodeIgniter by putting files into SYSTEM/LIBRARIES folder. For example the default prefix for own files extending core framework is MY so you will have my_model.php inside
class MY_Model extends Model {then in your SYSTEM/APPLICATION/MODELS you can have user.php and inside the fileclass User extends MY_Model {This is very basic example. You can read more here – http://ellislab.com/codeigniter/user_guide/general/creating_libraries.html