CodeIgniter
Overview.

CodeIgniter is a PHP framework, it was developed by EllisLab is a software developer based in Bend, Oregon which develops applications written in PHP, including ExpressionEngine and pMachinePro (currently pMachine Pro has been completely replaced by ExpressionEngine). At the time i write this article, CodeIgniter is the #1 on the top 10 php frameworks and rank #2 of the Top 10 Ranking PHP Frameworks.
CodeIgniter is an open source web application framework for use in building dynamic web sites with PHP. CodeIgniter goal is to enable web developers to develop projects much faster than 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 is most often noted for its speed when compared to other PHP frameworks. In a critical take on PHP frameworks in general, PHP creator Rasmus Lerdorf spoke at frOSCon in August 2008, noting that he liked CodeIgniter “because it is faster, lighter and the least like a framework”.
Kohana was forked from CodeIgniter 1.5.4 in 2007, as the community frustrated with CodeIgniter’s lack of bug fixes and inclusion of new features requested by the community.
Package
You can download codeIgniter pack from their official site. CodeIgniter include user guide in the downloaded file, it contain user guide from simple “Hello world program” and also good documented library it based on HTML files. There are two folders on this pack, one is the system folder where all configuration and core files, and user_guide folder which contain help files. In the user guide you can found there are many library you can use for developing application, it is very useful rather than you have to create procedure and type by your self.
The code
Code Igniter is an OOP (Object oriented programming) based, which means there are many PHP classes on the inside. CodeIgniter is based on MVC (Model View Controller) concept. You can first create HTML desain this is you “views”, and then create module for your application this named “Model” and last, you can control of you aplication using “Controller”. Below are the instalation for the simple Code Igniter. Before you start, i assumed that you have successfuly prepare all apache (or another http service) and php configuration.
Instalation
1. Unzip the package and placed it in your desired folder e.g htdocs/ci/ normally the index.php file will be at your root.
2. Open the application/config/config.php file with a text editor and set your base URL.
3. If you are using a database, open the application/config/database.php file with a text editor and set your database settings.
4. Test your codeIgniter instalation by entering your testing server e.g: http://localhost/ci/
If you wish to increase security by hiding the location of your CodeIgniter files you can rename the system folder to something more private. If you do rename it, you must open your main index.php file and set the $system_folder variable at the top of the page with the new name you’ve chosen.
Video
Related posts:
- PHP Frameworks comparison
- Why Use PHP Frameworks?
- Enable HTTP compression with Gzip
- Creating user online program with php
- How to: Export MySQL data table to excel / csv format with SQL query