1

Introduction

This is a tutorial from glenswinfield.co.uk, its purpose is to introduce to you the CodeIgniter (known sometimes as CI) php framework. The ultimate goal of this tutorial is teach you to install/setup CI and enable you to start to generate web pages while using very little php. Why? because I think that CI can create a good platform for non php-ers to start to learn php and generate organised, functional sites bit by bit.

What is Codeigniter

"CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications."
[CodeIgniter Website]

More directly, CodeIgniter is a set of php files (or libraries) that perform common tasks and enable you to quickly set up a platform on which you can build Web sites. CodeIgniter sites can be extremely complex, or contain mostly static html pages. This is why I think it is the perfect tool to introduce people to php and php Frameworks.

Conventions Used

Sometimes I will discuss some php functionality that is not specific to CI, and therefore could be found in other php programs/projects such as Expression Engine or Wordpress, these sections could be helpful to your wider php knowledge, that is to say your php knowledge "beyond CI". In these cases the content will be styled like this:

An examaple discussion about some php goes here...

[link to relevant php manual page]

Code will be formatted as follows, assume all code is wrapped in (<?php and ?> if you don't know what this means now don't worry, you will.)

$variable = 'some text here';

Particularly geeky sections are highlighted like this - these are not essential for the tutorial just a few geek bonus points for anyone whose interested.

What if I get stuck?

Use the comments page or email me using the address in the label image at the top of the page, to leave comments/questions/corrections etc. I will add good/popular comments to the FAQ's page for easy reference as we go along.

Setting up a development server »