Wednesday, September 10, 2014

Downloading and Setting up CodeIgniter Framework with Dreamweaver


CodeIgniter...

CodeIgniter is an Open source  powerful lightweight framework for PHP developers who wants a simple and elegant toolkit to create dynamic web applications. It has a light footprint,exceptional performance,broad capability with standard hosting and many more.CodeIgniter is a loosely based on Model-View-Controller*(MVC) development pattern.

To create a PHP web site there are some prerequisites, 

  1. First you have to Download the Dreamweaver IDE and install it on your computer.
  2. Use the following link to download WAMP server and install it. 
  3. Run WAMP server.

Now lets Set up CodeIgniter

1. Create a folder called ci2, inside www folder (C:\wamp\www)
2. Use the follwing link to download the latest version of CodeIgniter
https://ellislab.com/codeigniter  
3. Unzip the package.
4. Put All the files in to ci folder (C:\wamp\www\ci2)

Now lets set up Dreamweaver

  1. Launch Dreamweaver and go to Site->New Site


2. Name the site as ci2 and give local site folder path as C:\wamp\www\ci2\


 
3. Go to servers and add a new server by clicking the [+] button


4. Fill the Fields according to the image given below

 


5.Finally untick the remote server and tick testing and hit save

   
6. Once you have successfully created the site all the files will be displayed on the Files panel on the bottom right hand side.


7. Now navigate to application->config->database.php using the files panel 


8. Fill the details according to the image below and save the file




9. Now Click on the wamp icon on the menu bar and select phpmyadmin



10.Create a database called ci.





11.Now go back to Dreamweaver and double click on index.php file


  12. Now click on the preview button.





  13. If you get this Screen you have successfully configured CodeIgniter



2 comments: