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

[eluser]mlakhara[/eluser]
Hello everyone
I am new with codeigniter and I am trying to figure it out
in order to create a social network for my college.
I have been reading a lot of the documentation for CI which is
quite awesome, however I was wondering if there is any other
document that gives a sneak peek into the interiors of CI --
and explains that how the internals work like where is the CI sessions
stored, how does the loader class works etc.
All in all I am searching for something that removes the layer of abstraction
between implementaton and understanding.
#2

[eluser]Pet[/eluser]
hi. you are making a social network site as you say. Im on the same project atm. And is studying the whole website and functionalities which quite advance for my level. Anyway you can peek at this website http://www.kitiwit.com . If you want to create a social network site it requires a lot of planning and module creation as codeigniter is suitable in this task. Start by making a template library that can handle all your page request then incorporate it using javascript, in my case jquery as it is much suitable for ajax call and quite nifty.As for loader i recomend use the set_output functionality of ci and fetch it using $.get() of jquery.
#3

[eluser]dnc[/eluser]
[quote author="mlakhara" date="1340079646"]Hello everyone
I am new with codeigniter and I am trying to figure it out
in order to create a social network for my college.
I have been reading a lot of the documentation for CI which is
quite awesome, however I was wondering if there is any other
document that gives a sneak peek into the interiors of CI --
and explains that how the internals work like where is the CI sessions
stored, how does the loader class works etc.
All in all I am searching for something that removes the layer of abstraction
between implementaton and understanding.[/quote]



Uh, have you thought about looking at the source code ?
#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




Theme © iAndrew 2016 - Forum software by © MyBB