CodeIgniter Tutorial

From the past few weeks I’ve been going back and updating my previous tutorials namely, the html introduction tutorials.

However, during the html tutorials preparations, I thought of introducing a codeigniter tutorial series. Wait a minute! What exactly is CodeIgniter?

What’s CodeIgniter?

codeigniter tutorial

If you have been a PHP programmer for a while, I can be sure that you have some knowledge of the existence of PHP frameworks.

PHP Frameworks were created to give a PHP programmer a structure he can use across different applications.

PHP frameworks are designed to help PHP programmers create code with less time. I encourage you to read more about Model-View-Controller to get a better grasp of how PHP frameworks works. For the meantime, let’s get back to our CodeIgniter tutorial.

The CodeIgniter website refers to CodeIgniter as:

[CodeIgniter is] an Open Source Web Application Framework that makes writing kick-ass PHP programs simple as apple pie

From what I have been hearing, it is absolutely true :) Now let’s get on to the installation part.

CodeIgniter Installation

Installation of CodeIgniter is much simpler than apple pie.

Download the latest version of CodeIgniter

codeigniter tutorial

Extract CodeIgniter zip folders and files into a folder on your web server.

codeigniter tutorial

Open up the CodeIgniter config.php file located at application/config/config.php.

codeigniter tutorial

Update the CodeIgniter base_url. In my case, I set my base URL to http://pinoytech.org/ci/

codeigniter tutorial

codeigniter tutorial

That’s it! There no number 5!

CodeIgniter Security

Security is of course a main priority for all applications. CodeIgniter gives an option for CodeIgniter users to increase security by renaming the CodeIgniter system folder.

codeigniter tutorial

Do remember to rename the $system_folder setting in the index.php file located at your root installation.

We won’t be stopping at the CodeIgniter installation. In the next few weeks or months, I will go in-depth into this PHP framework by giving more CodeIgniter tutorials. I hope to see more CodeIgniter users next time :)

Post a Comment

Your email is never published nor shared. Required fields are marked *