CakePHP Interview Questions and Answers

CakePHP Interview Questions and Answers

CakePHP is an open-source web framework. It follows the model–view–controller (MVC) approach and is written in PHP, modeled after the concepts of Ruby on Rails, and distributed under the MIT License. CakePHP uses well-known software engineering concepts and software design patterns, such as convention over configuration, model–view–controller, and active record, association data mapping, and front controller.

CakePHP started in April 2005, when a Polish programmer Michal Tatarynowicz wrote a minimal version of a rapid application development in PHP, dubbing it Cake. He published the framework under the MIT license, and opened it up to the online community of developers. In December 2005, L. Masters and G. J. Woodworth founded the Cake Software Foundation to promote development related to CakePHP. Version 1.0 was released on May 2006. Current CakePHP v4.0.3 / 2020-01-25(Wikipedia )

What is CakePHP?

Why use CakePHP?

What are the features of CakePHP?

What is the naming convention in cakephp?

Can you explain Routing?

What is Scaffolding in Cakephp?

What is Redirect Routing?

What is the naming convention in cakephp?

Can you explain MVC in CakePHP?

What are the Logging levels?

Can you define layout?

What is a Helper?
What is the use of Security.salt and Security.cipherSeed in cakephp? How to change its default value?

What is requestAction method?

What are the name relational database servers supported CakePHP?

What is the name of Cakephp database configuration file name and its location?

Can you list some database related functions in cakephp?

How to get current URL in CakePHP?

What is a Component in cakephp?

What are commonly used components of cakephp?

Can you define Behavior?

Why cakephp have two vendor folder? What is the difference between two vendors folder available in cakephp?

Can you define Element?

How can you set custom page title for the static page?
How to display the schema of the model?

How to install CakePHP?

What is Registry Objects?

What is inflector?

What are chronos in CakePHP?

What is meant by Migrations?

What are the pros and cons of CakePHP?