Question:What is controller layer?
The controller layer handles requests from users.It is responsible for rendering a response with the aid of both the Model and the view layer.
Question:What is AppController class?
The AppController class is the parent class to all of your application’s controllers. AppController itself extends the Controller class included in the CakePHP core library.