What is CodeIgniter?

#1
[eluser]extrickster[/eluser]
Hello CodeIgniter Forum,

I am coming to you with a very serious question today... what is codeigniter and why should I use it? Is it a code editor like Windows Notepad, Komodo, Notepad++, or a WYSIWYG editor?

Thank you,
extrickster

#2
[eluser]lennierb5[/eluser]
.........

CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

http://ellislab.com/codeigniter/user-guide/

#3
[eluser]extrickster[/eluser]
[quote author="lennierb5" date="1295523386"].........

CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

http://ellislab.com/codeigniter/user-guide/[/quote]

I have read that... but that does not tell me anything? Why would I wanna use this instead of Adobe Dreamweaver? I just don't get what any of this is? :question:

#4
[eluser]huzzi[/eluser]
[quote author="extrickster" date="1295523686"]
I have read that... but that does not tell me anything? Why would I wanna use this instead of Adobe Dreamweaver? I just don't get what any of this is? :question:[/quote]

Stick with Adobe Dreamweaver, this is not for you.

#5
[eluser]extrickster[/eluser]
I just got into writing PHP with Active State Komodo Edit 6, I don't use Adobe Dreamweaver. It actually sucks... I was just referencing to it by asking what CodeIgniter was. I have researched and some have said that this framework makes writing PHP faster... but writing it in a plain text editor is pretty fast already?... That is why I am misunderstanding this.

#6
[eluser]cideveloper[/eluser]
[quote author="huzzi" date="1295561990"]Stick with Adobe Dreamweaver, this is not for you.[/quote]

Ha. Thats not helpful. Codeigniter is a bunch of code that you can use in any text editor that will help your php syntax writing to be faster. Here is an example. You want the code to print out a bunch of numbers.

Code:
function test(){

for($i=0;$i<80;$i++) {
echo $i . chr(10);
}

}

$result=test();

In the above example, once you have written your function you can re-use it anytime by just calling that function and it will happily print out all those numbers.

Code:
echo 0 . chr(10);
echo 1 . chr(10);
echo 2 . chr(10);
echo 3 . chr(10);
echo 4 . chr(10);
echo 5 . chr(10);
..........

In this example you will have to write out the echo statement 80 times

Which is faster? Obviously the first one.

So that is in a nutshell what codeigniter is. A bunch of code already wriiten for you, that you can use that will make sure you dont have to code the long way. The database active record is a perfect example. Compare the 1 or 2 lines of code used in that compared to the multiple lines you would need to write in pure php.

#7
[eluser]Roy MJ[/eluser]
Yeah it is for small projects or works.. But with larger applications, codeigniter is best suited than normal dreamweaver or any of the same. It comes in with hell a lot of built in functions and stuff. Once u get the idea of how codeigniter works you'll never even feel like going for pure php methods.. Its huge.. Best way to learn is to go through the guide and perhaps go through the forum. You'll get an idea of what all applications are made easy through codeigniter. Last bt nt the least, u need to have a positive frame of mind towards codeigniter..

#8
[eluser]sean_THR[/eluser]
CodeIgniter is a collection of common libraries that you can re-use without having to write them from the ground up every time. It's not a code editor but rather the code itself. It speeds up development by providing you with already working code that you can use in your own applications.

I'd recommend going through some of the tutorials so that you can get a better understanding of it.

#9
[eluser]extrickster[/eluser]
[quote author="cideveloper" date="1295564661"][quote author="huzzi" date="1295561990"]Stick with Adobe Dreamweaver, this is not for you.[/quote]

Ha. Thats not helpful. Codeigniter is a bunch of code that you can use in any text editor that will help your php syntax writing to be faster. Here is an example. You want the code to print out a bunch of numbers.

Code:
function test(){

for($i=0;$i<80;$i++) {
echo $i . chr(10);
}

}

$result=test();

In the above example, once you have written your function you can re-use it anytime by just calling that function and it will happily print out all those numbers.

Code:
echo 0 . chr(10);
echo 1 . chr(10);
echo 2 . chr(10);
echo 3 . chr(10);
echo 4 . chr(10);
echo 5 . chr(10);
..........

In this example you will have to write out the echo statement 80 times

Which is faster? Obviously the first one.

So that is in a nutshell what codeigniter is. A bunch of code already wriiten for you, that you can use that will make sure you dont have to code the long way. The database active record is a perfect example. Compare the 1 or 2 lines of code used in that compared to the multiple lines you would need to write in pure php.[/quote]

Finally three people answered with helpful answers. I thought for a minute that CodeIgniter did not allow noobs like myself.

Ahhh.. (the blind man once said) I kinda see what CodeIgniter is now and what other PHP frameworks do. It is easier to develop large web applications in. Thank you @RoyMJ and @sean_THR for your answers. Smile

#10
[eluser]cideveloper[/eluser]
Quote:Thank you @RoyMJ and @sean_THR for your answers.

What, I get no love? :-S

Just kidding. Actually CI is not that bad for small applications too.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.