Monday, February 15, 2016

CodeIgniter Quest 2015-2016

Midterm Semeter I
Subject :  Web Development with PHP & MySQL
Period : 60 Minutes



I. Choose the correct answer (06 points)
1.    When we create a new Class Page Controller What do we need to use the Extend ?
 CI_Controller         Model_Controller       ƒ Controller          CodeIgniter_Controller
2.      Whic one is the name of page follow Function ?
function index() {
$this->load->view("home","data");
}
 view/home                 data                                  ƒ index                    home
3.      When we create Class Page , View/about.php What is the URL that we should Run ?
 "http://localhost/CodeIgniter/index.php/page/view/about.php"            
"http://localhost/CodeIgniter/index.php/view/page/about"            
ƒ "http://localhost/CodeIgniter/index.php/page/about"             
"http://localhost/CodeIgniter/page/about "          
II.                  សំនួរផ្គូរផ្គង
A
B
C
1.       Web Client
2.       Model
3.       Web Server
4.       Web Browser

A.   Process the user Request
B.   Data
C.    processes requests via HTTP
D.   Sending and Receiving data
E.    User Response
1   =   ………..
2   =   ………..
3   =   ………..
4   =   ………..

 

III.             Question  
1.    What are the reason to use CodeIgniter Framework ?
2.    Describe how to Install CodeIgniter in Localhost ?

3.    What is the function of MVC in CodeIgniter Framework? Described by one?