What do you mean by Component in cakephp? List some commonly used components.

It is a class file which contains the common code and logic. It can be shared between the application's controllers. We can perform various common tasks like session handling, cookies and security related things with the help of components.

In cakePHP, we can use various componenets thats are given below :-

  • Authentication
  • Cookie
  • Cross-Site Request Forgery
  • Flash
  • Security
  • Pagination
  • Request Handling etc

Suggest An Answer

No suggestions avaliable!

Latest post from CakePHP interview questions

Ask Question