In this tutorial you will learn about the CodeIgniter Controller and its application with practical example.
What Is CodeIgniter Controller?
In MVC framework, the letter “C” stands for Controller. Controller works as an intermediary between the Model, View and any other resources required to process the HTTP request, it receives the incoming HTTP requests and process it communicating with models and views, then return the results back to the web browser. In CodeIgniter, controllers is completely responsible for handling the application logic.
In CodeIgniter, all of the controllers stored in application/controllers directory.