About Codeigniter

CodeIgniter is a toolkit for people who build web application 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.

Where to get CodeIgniter?

Installation steps

CodeIgniter is installed in four steps:

1. Unzip the package.

2. Upload the CodeIgniter folders and files to your server. Normally the index.php file will be at your root.

3. Open the application/config/config.php file with a text editor and set your base URL. If you intend to use encryption or sessions, set your encryption key.

4. If you intend to use a database, open the application/config/database.php file with a text editor and set your database settings.

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.

Advantage of Code Igniter

1. Lightweight
It is light weight, that is additional libraries are loaded dynamically based on the request given by the process. The core system requires only a few very small libraries compare to other framework.

2. Fast

3. Uses M-V-C
Codeigniter uses Model-view-controller approach, which allows great separation between logic and presentation.

4. Generates clean URLs

URL generated by CodeIgniter are clean and search-engine friendly.
It uses a segment-based approach.

Example.com/new/article/345

Note: By default the index.php file is included in the URL but it can be removed using a simple .htaccess file.

5.  Packs a punch

Codeigniter have full range of libraries which enable the most commonly need web development tasks, like

  • Accessing database
  • Sending email
  • Validation form data
  • Maintaining sessions
  • Manipulating images,
  • Working with xml-RPC(Remotoer procedure call) data etc…

6.  Extensible
It can be easily extended through plugins and helper libraries or class extensions or system hooks

7.  Doesn’t require a template engine

8. Thoroughly documented
Code is extremely clean and well commented as well

more about codeigniter

Posted in codeigniter