CS6320:  SW Engineering of Web Based Systems

 

Code Ignitor (php framework)

Config = Configure how application using framework is configured

1) When install get directory structure

  • CodeIgniter
    • system
      • application
        • config
          • autoload.php
          • config.php
          • database.php
          • index.html
          • routes.php
        • controllers
        • errors
        • models
        • scripts
        • views

2) Click on config->routes.php

3) routes.php =

  • mapping instructions to url
  • can select default controller class - this will be lauched when type in browser
    URL http://whatever.com/CodeIgniter/index.php

 

 

 

 

© Lynne Grewe