Google News
logo
CodeIgniter - Interview Questions
Explain The MVC Structure of Codeigniter.
MVC stands for MODEL VIEW CONTROLLER. Model View Controller separates application logic from the presentation layer. It helps web pages to contain minimum scripting.
 
MODEL : It is used to represent data structures. Model classes constitute functions that help to insert, retrieve, and update information in the database.

CONTROLLER : It acts as an intermediary between the view, model, or any other resource to process HTTP requests. The Controller controls the whole application by URI.

VIEW : It represents the information that is being presented to the user. In CodeIgniter, a View could be a simple or complex webpage. The web page contains a header, footer, sidebar, etc. A view cannot be called directly.
Advertisement