Welcome Guest, Not a member yet? Register   Sign In
Beginner's Big Question... Inside codeigniter
#4

[eluser]InsiteFX[/eluser]
If you do a forum search you should find a list that I wrote explaining the steps CI goes through.
But I will post it here again.

1) Jump into the ./system/core ./system/libraries and ./system/helpers read and go through the code.

Code:
CodeIgniter Loading:
========================================================================

CodeIgniter.php

1)  Defines the CI version - CI_VERSION
2)  Defines the CI Core - FALSE
3)  Loads the global functions - core/Common.php
4)  Loads the constants - ./application/config/environment/constants.php
     OR Loads the Constants - ./application/config/constants.php
5)  Defines the custom error handler - _exception_handler
6)  Sets the subclass_prefix MY_
7)  Sets a liberal script execution time limit
8)  Starts the start timer
9)  Instantiates the Core Hooks Class
10) Instantiates the pre system hook
11) Instantiates the Core Config Class
12) Instantiates the Core Utf8 Class
13) Instantiates the Core URI class
14) Instantiates the Core Router Class
15) Instantiates the Core Output Class
16) Checks for a valid cache file
17) Instantiates the Core Security Class
18) Instantiates the Core Input Class
19) Instantiates the Core Lang Class
20) Instantiates the Core Controller Class and ./application/core/MY_Controller
21) Instantiates the Application Controllers ./application/controllers
22) Security check for _Private functions
23) Instantiates the pre_controller hook
24) Instantiates the requested controller
25) Instantiates the post controller constructor hook
26) Instantiates the requested method
27) Instantiates the post controller hook
28) Sends final rendered output to the browser
29) Instantiates the post system hook
30) Closes the database connection


Messages In This Thread
Beginner's Big Question... Inside codeigniter - by El Forum - 06-18-2012, 09:20 PM
Beginner's Big Question... Inside codeigniter - by El Forum - 06-18-2012, 10:28 PM
Beginner's Big Question... Inside codeigniter - by El Forum - 06-19-2012, 12:01 AM
Beginner's Big Question... Inside codeigniter - by El Forum - 06-19-2012, 01:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB