31st
Dec
Cakephp interview questions

Advanced CAKEPHP Interview Questions

  • Dhanush Kuppusamy
  • 31st Dec, 2020
  • 1058 Followers

About CakePHP

Cakephp is an open-source PHP web framework for creating websites and mobile APIs. It follow MVC approach of development and written in PHP. CakePHP is built on ruby concepts and released under MIT License.The current stable version of CakePHP is 3.8.3 and require PHP version greater than 5.6.0

Cakephp interview questions

1) What is CakePHP?

CakePHP is an open-source web framework. It follows the model–view–controller approach and is written in PHP, modeled after the concepts of Ruby on Rails, and distributed under the MIT License.

2) What is MVC in CakePHP?

Model–view–controller (usually known as MVC) is a software design pattern commonly used for developing user interfaces that divides the related program logic into three interconnected elements.

3) What are hooks in CakePHP?

Hooks in CakePHP are the functions that we can call before and after doing any task in Models ( database related ). Like after finding data, before saving data etc.

4) What is Composer?

Composer is a dependency manager for PHP. Composer will allow you to manage your libraries, classes, and functions throughout your applications. These libraries and classes that you create for Composer are referred to as Packages.

5) What is minimum server requirements to install CakePHP?

Minimum server requirements to install CakePHP are

  • HTTP Server. Like Apache. Having mod_rewrite is preferred, but by no means required.
  • PHP 5.6.0 or greater (including PHP 7.1).
  • mbstring PHP extension installed and enabled
  • intl PHP extension
  • simplexml PHP extension

6) List various type of cache supported by CakePHP?

7) What types of associations supported by CakePHP?

8) What are helpers in CakePHP?

9) What are components in Cakephp?

10) How to set a layout in Cakephp from controller?

11) How to get current url in CakePHP?

12) What is behaviour in CakePHP?

13) What is full form of HABTM?

14) List some database related query function available in Cakephp?

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.