Controllers acts a major role in all MVC Frameworks ,thatsi t in codeigniter tooo...
  • Controller controls(validates) the data from the user 
  • Validated input is processed with the model.
  • Finally the out put passed to the view side
     This shows  the controller works as a bridge between all the modules of a MVC Framework.



Controllers are also placed inside the application folder
Folder structure is : Codeigniter/application/controllers/

I have created a sample controller class named user,