Cakephp interview questions and answers for freshers

What is cakephp.

CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. it uses commonly known design patterns like MVC,ORM within the convention over configuration paradigm, It also reduces development costs and helps developers write less code.

List some of the features in Cake php.

  1. Compatible with versions 4 and 5 of PHP
  2. MVC architecture
  3. Built-in Validations
  4. Caching
  5. scaffolding

What is habtm?

habtm (has and belongs to many) is a kind of associations that can be defined in models for retrieving associated data across different entities.

How can we use ajax in cakephp.?

By calling ajax helper and then using it in controller for rendering.

List some database related functions in cakephp.?

find, findAll , findAllBy , findBy , findNeighbours , query.

How can we use ajax in cakephp.?

By calling ajax helper and then using it in controller for rendering.

What naming convention used in cakephp?

Table names are plural and lowercased,model names are singular and CamelCased: ModelName, model filenames are singular and underscored: model_name.php, controller names are plural and CamelCased with *Controller* appended: ControllerNamesController, controller filenames are plural and underscored with *controller* appended: controller_names_controller.php,

Comments

  1. Thanks for questions .You can find Latest CakePHP Questions from CakePHP Interview Questions.
    Thanks

    ReplyDelete
  2. Thanks for sharing such a nice information with us. Very useful lines and to the point.These questions and Answers are very useful because they are to the point and concise.

    CakePHP Interview Questions Answers

    CakePHP Advanced Interview Questions Answers

    CakePHP Most Common Interview Questions Answers

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete

Post a Comment

Popular posts from this blog