PHP Coding Frameworks

Popular coding standard frameworks are

1. YII

2. CodeIgniter

Now we will see how to use codeigniter:

1. Download codeigniter from this link

2. Extract the codeigniter folder from zip file & upload to your localhost(wamp/xampp server)

3. First, we make controller, create a file name hello.php within:\application\controllers. Enter following code:

class Hello extends CI_Controller{

function Hello()


function index()

public function you()



4.Next step, make a view. Create you_view.php within CodeIgniter \application\views. Enter just simple line code like:

1 Hello, you!

5.Now, test your application. Point your browser to http://localhost/codeigniter/index.php/Hello/ You should get like this:

Hello, you!